Class AbstractElementWithScriptingAndMetadata
- Object
-
- PathElement
-
- AbstractElementWithSessionScripting
-
- AbstractElementWithScripting
-
- AbstractElementWithScriptingAndMetadata
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
AbstractFlowElement
,AbstractVertexElement
,FlowTriggerElement
public abstract class AbstractElementWithScriptingAndMetadata extends AbstractElementWithScripting
Abstract base class for all path elements with metadata. It includes data on changed script variables because the constructor will replace script expressions in metadata values with their evaluation results, thus side effects of those expressions may change script variables.
-
-
Constructor Summary
Constructors Constructor Description AbstractElementWithScriptingAndMetadata(Map<String,String> _mMetadata, ActiveFlow _currentFlow, ScriptEnvironmentI _scriptEnv, Map<String,Object> _mChangedSessionVariables, Map<String,Object> _mChangedFlowVariables, Consumer<DebugInfo> _setOwner)
Note: This constructor evaluates and replaces script expressions in the metadata values, thus as side effect it may modify the script bindings of the given session and flow context.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,String>
getMetadata()
String
toString()
-
Methods inherited from class AbstractElementWithScripting
getChangedFlowVariables
-
Methods inherited from class AbstractElementWithSessionScripting
getChangedSessionVariables
-
Methods inherited from class PathElement
getDescription, getName, getPropertyGetters, getType
-
-
-
-
Constructor Detail
-
AbstractElementWithScriptingAndMetadata
public AbstractElementWithScriptingAndMetadata(Map<String,String> _mMetadata, ActiveFlow _currentFlow, ScriptEnvironmentI _scriptEnv, Map<String,Object> _mChangedSessionVariables, Map<String,Object> _mChangedFlowVariables, Consumer<DebugInfo> _setOwner)
Note: This constructor evaluates and replaces script expressions in the metadata values, thus as side effect it may modify the script bindings of the given session and flow context.
-
-