public class BehaviourScript extends ServiceSpec
Modifier and Type | Field and Description |
---|---|
int |
maxValue
Maximum value
|
int |
minValue
Minimum value
|
java.lang.String |
scriptType
Can be a behaviour or a problem solver script by default
|
constructorParams, createServices, dataConditions, datasetType, dirPath, externalScript, heuristicOptions, heuristicType, inputVariables, linkSpec, metricType, serverSpec, serviceClasses, serviceJarFiles, servicesNum, serviceType, tokenizer
Constructor and Description |
---|
BehaviourScript(PasswordHandler thePasswordHandler)
Create a new instance of BehaviourScript.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
validateScript()
Validate the whole script and return a description of any errors.
|
protected java.lang.String |
validateVariable(java.lang.String varType)
Validate the script variable and return a description if invalid.
|
parseProblemDataset
public java.lang.String scriptType
public int minValue
public int maxValue
public BehaviourScript(PasswordHandler thePasswordHandler)
thePasswordHandler
- for storing passwords.public java.lang.String validateScript()
validateScript
in class ServiceSpec
protected java.lang.String validateVariable(java.lang.String varType)
validateVariable
in class ServiceSpec
varType
- the variable type.