Interface ExecutionContext
-
- All Known Subinterfaces:
ExecutionContextOnDataset,ExecutionContextOnDataspace,ExecutionContextOnField,ExecutionContextOnTable,ExecutionContextOnWorkflow
public interface ExecutionContextContext for function execution.- Since:
- 4.2.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description com.orchestranetworks.service.SessiongetCurrentSession()Returns the current session.java.lang.StringgetInputValue(java.lang.String name)Returns the value for a single-valued input.java.util.List<java.lang.String>getInputValues(java.lang.String name)Returns the list of values for a multi-valued input.ValueSequencenewValueSequence()Creates a new sequence of output values.
-
-
-
Method Detail
-
getCurrentSession
com.orchestranetworks.service.Session getCurrentSession()
Returns the current session.
-
getInputValues
java.util.List<java.lang.String> getInputValues(java.lang.String name)
Returns the list of values for a multi-valued input.- Parameters:
name- The input name specified inInputDefinition.getName().- See Also:
InputDefinition.isMultiValued()
-
getInputValue
java.lang.String getInputValue(java.lang.String name)
Returns the value for a single-valued input.- Parameters:
name- The input name specified inInputDefinition.getName().- See Also:
InputDefinition.isMultiValued()
-
newValueSequence
ValueSequence newValueSequence()
Creates a new sequence of output values.A sequence can contain the values of all outputs. In case each output of the function has a different set of linked records, each one should have its own sequence.
-
-