Package com.walkfares.odsl.var.workflow
Class VarAction
java.lang.Object
com.walkfares.odsl.var.BaseVar
com.walkfares.odsl.var.VersionedVar
com.walkfares.odsl.var.script.VarScript
com.walkfares.odsl.var.workflow.VarAction
- All Implemented Interfaces:
Var
- Direct Known Subclasses:
VarWorkflow
public class VarAction extends VarScript
-
Constructor Summary
Constructors Constructor Description VarAction()
-
Method Summary
Modifier and Type Method Description Var
_clone()
void
addExit(String exit)
void
addInput(VarArg arg)
void
addOutput(VarArg arg)
List<String>
getExits()
List<VarArg>
getInputs()
List<VarArg>
getOutputs()
VarReference
getReference()
List<com.walkfares.odsl.grammar.OpenDSLParser.StatementContext>
getStatements()
VarType
getType()
boolean
isLocal()
Var
run(Var input, Var output, OpenDSLContext context)
VarAction
setLocal(boolean local)
VarAction
setScript(String script)
VarAction
setStatements(List<com.walkfares.odsl.grammar.OpenDSLParser.StatementContext> statements)
Methods inherited from class com.walkfares.odsl.var.script.VarScript
applyChanges, getCategory, getDescription, getFilename, getId, getScript, loadFrom, run, run, set_Id, setCategory, setDescription, setFilename
Methods inherited from class com.walkfares.odsl.var.BaseVar
add, getLinks, getTypeName, getUID, setLinks, toString, tryConvert
-
Constructor Details
-
VarAction
public VarAction()
-
-
Method Details
-
isLocal
public boolean isLocal() -
setLocal
-
getStatements
-
setStatements
-
getType
-
_clone
-
getReference
- Specified by:
getReference
in interfaceVar
- Overrides:
getReference
in classVarScript
-
setScript
-
getInputs
-
addInput
-
getOutputs
-
addOutput
-
getExits
-
addExit
-
run
-