Interface EngineAccess.Data.ActiveFlow
-
- All Superinterfaces:
EngineAccess.Data.Flow
- Enclosing interface:
- EngineAccess.Data
public static interface EngineAccess.Data.ActiveFlow extends EngineAccess.Data.Flow
The data of an active flow stack entry.- Since:
- 1.3.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidabort()Marks this flow for premature termination.StringgetDescription()Returns the description text of this flow.EngineAccess.Data.FlowTriggergetFlowTrigger()Returns the trigger which caused this active flow to be raised.StringgetFolderPath()Returns the path of the solution folder this flow is stored in.StringgetId()Returns the ID of this flow.StringgetInstanceId()Returns the instance ID of this active flow (it distinguishes multiple active instances of the flow with the ID returned by methodgetId()).Map<String,String>getMetadata()Returns the metadata of this flow, including any default values.StringgetName()Returns the name of this flow.StringgetType()Returns the type of this flow.BindingsgetVariables()Returns the variables of this active flow (without session variables).EngineAccess.Data.VertexgetVertex()In case this object was returned by methodsEngineAccess.getActiveFlows(),EngineAccess.getTopFlow(),EngineAccess.getTopNormalFlow()the flow vertex last processed (a direct pre-vertex of the vertex currently being processed) is returned. In case this object was returned by methodEngineAccess.getThisFlow()the vertex currently being processed is returned.booleanisAborted()States whether this flow is marked for immediate termination when it is/becomes the top flow.StringtoString()Returns a human readable representation of this flow.
-
-
-
Method Detail
-
getId
String getId()
Description copied from interface:EngineAccess.Data.FlowReturns the ID of this flow.- Specified by:
getIdin interfaceEngineAccess.Data.Flow
-
getName
String getName()
Description copied from interface:EngineAccess.Data.FlowReturns the name of this flow.- Specified by:
getNamein interfaceEngineAccess.Data.Flow
-
getType
String getType()
Description copied from interface:EngineAccess.Data.FlowReturns the type of this flow. The value is either"normal"for a normal flow, or"sub"for a subflow (invoked on behalf of a normal flow).- Specified by:
getTypein interfaceEngineAccess.Data.Flow
-
getDescription
String getDescription()
Description copied from interface:EngineAccess.Data.FlowReturns the description text of this flow.- Specified by:
getDescriptionin interfaceEngineAccess.Data.Flow
-
getFolderPath
String getFolderPath()
Description copied from interface:EngineAccess.Data.FlowReturns the path of the solution folder this flow is stored in.- Specified by:
getFolderPathin interfaceEngineAccess.Data.Flow
-
getMetadata
Map<String,String> getMetadata()
Description copied from interface:EngineAccess.Data.FlowReturns the metadata of this flow, including any default values.- Specified by:
getMetadatain interfaceEngineAccess.Data.Flow- Returns:
- an unmodifiable
Mapcontaining the metadata name/value pairs
-
getFlowTrigger
EngineAccess.Data.FlowTrigger getFlowTrigger()
Returns the trigger which caused this active flow to be raised.- Returns:
- a
FlowTriggerExif this flow is a normal flow, otherwisenull(that is, if this flow is a routed flow or a subflow) - Since:
- 1.3.0
-
getInstanceId
String getInstanceId()
Returns the instance ID of this active flow (it distinguishes multiple active instances of the flow with the ID returned by methodgetId()).- Since:
- 1.3.0
-
getVariables
Bindings getVariables()
Returns the variables of this active flow (without session variables).- Returns:
- a non-resizable binding (that is, adding/deleting variables is not supported)
- Since:
- 1.3.0
-
getVertex
EngineAccess.Data.Vertex getVertex()
- In case this object was returned by methods
EngineAccess.getActiveFlows(),EngineAccess.getTopFlow(),EngineAccess.getTopNormalFlow()the flow vertex last processed (a direct pre-vertex of the vertex currently being processed) is returned. - In case this object was returned by method
EngineAccess.getThisFlow()the vertex currently being processed is returned.
- Returns:
- a
EngineAccess.Data.Vertex, ornullif vertex processing yet didn't start for this flow - Since:
- 1.3.0
- In case this object was returned by methods
-
abort
void abort()
Marks this flow for premature termination. SeeEngineAccess.abortActiveFlow(String)for more details.An invocation of this method yields exactly the same result as the expression
EngineAccess.<this flow>abortActiveFlow(.getInstanceId())- Since:
- 3.0.0
- See Also:
EngineAccess.abortActiveFlow(String),isAborted()
-
isAborted
boolean isAborted()
States whether this flow is marked for immediate termination when it is/becomes the top flow.- Since:
- 3.0.0
- See Also:
abort()
-
toString
String toString()
Description copied from interface:EngineAccess.Data.FlowReturns a human readable representation of this flow.- Specified by:
toStringin interfaceEngineAccess.Data.Flow- Overrides:
toStringin classObject
-
-