public abstract class FlowDescription extends Object
describe()
method and build a data-flow in the method.Constructor and Description |
---|
FlowDescription() |
Modifier and Type | Method and Description |
---|---|
protected abstract void |
describe()
Describes data-flow structure.
|
static String |
getJobFlowName(Class<? extends FlowDescription> aClass)
Returns the flow ID of the target jobflow class.
|
boolean |
isFlowPart()
Deprecated.
Use
isFlowPart(Class) instead |
boolean |
isFlowPart(Class<? extends FlowDescription> aClass)
Returns whether the target class represents a flow-part or not.
|
boolean |
isJobFlow()
Deprecated.
Use
isJobFlow(Class) instead |
static boolean |
isJobFlow(Class<? extends FlowDescription> aClass)
Returns whether the target class represents a jobflow or not.
|
void |
start()
Analyzes flow DSL using
flow description method . |
public final void start()
flow description method
.
Application developers should not invoke this method directly.protected abstract void describe()
@Deprecated public boolean isJobFlow()
isJobFlow(Class)
insteadtrue
if this represents a jobflow, otherwise false
@Deprecated public boolean isFlowPart()
isFlowPart(Class)
insteadtrue
if this represents a flow-part, otherwise false
public static boolean isJobFlow(Class<? extends FlowDescription> aClass)
aClass
- the target flow description classtrue
if the class represents a jobflow, otherwise false
public static String getJobFlowName(Class<? extends FlowDescription> aClass)
aClass
- the target flow description classnull
if the target class is not a valid jobflow classpublic boolean isFlowPart(Class<? extends FlowDescription> aClass)
aClass
- the target flow description classtrue
if the class represents a flow-part, otherwise false
Copyright © 2011–2018 Asakusa Framework Team. All rights reserved.