Class 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 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.