Package com.walkfares.odsl.var.script
Class VarScript
java.lang.Object
com.walkfares.odsl.var.BaseVar
com.walkfares.odsl.var.VersionedVar
com.walkfares.odsl.var.script.VarScript
- All Implemented Interfaces:
Var
- Direct Known Subclasses:
VarAction
,VarExtractor
,VarTransformer
public class VarScript extends VersionedVar implements Var
-
Constructor Summary
Constructors Constructor Description VarScript()
-
Method Summary
Modifier and Type Method Description Var
_clone()
Var
applyChanges(Var update)
String
getCategory()
String
getDescription()
String
getFilename()
String
getId()
VarReference
getReference()
String
getScript()
VarType
getType()
void
loadFrom(String file, OpenDSLContext context)
void
run(OpenDSLVarVisitor visitor)
void
run(OpenDSLVarVisitor visitor, boolean globalContext)
Var
set_Id(String id)
VarScript
setCategory(String category)
VarScript
setDescription(String description)
VarScript
setFilename(String filename)
VarScript
setScript(String script)
Methods inherited from class com.walkfares.odsl.var.BaseVar
add, getLinks, getTypeName, getUID, setLinks, toString, tryConvert
-
Constructor Details
-
VarScript
public VarScript()
-
-
Method Details
-
getType
-
getId
-
set_Id
-
_clone
-
applyChanges
- Specified by:
applyChanges
in interfaceVar
- Overrides:
applyChanges
in classBaseVar
-
getReference
- Specified by:
getReference
in interfaceVar
-
getScript
-
setScript
-
getCategory
-
setCategory
-
getFilename
-
setFilename
-
getDescription
-
setDescription
-
loadFrom
-
run
-
run
-