public class MContextVariable
extends jadex.bridge.modelinfo.Argument
Modifier and Type | Field and Description |
---|---|
protected java.util.Map<java.lang.String,jadex.bridge.modelinfo.UnparsedExpression> |
configinitialvalues
Initial values for configurations
|
Constructor and Description |
---|
MContextVariable()
Create a new argument.
|
MContextVariable(java.lang.String name,
java.lang.String description,
java.lang.String classname,
java.lang.String defaultvalue)
Create a new argument.
|
Modifier and Type | Method and Description |
---|---|
jadex.bridge.modelinfo.UnparsedExpression |
getConfigValue(java.lang.String config)
Get the value for a specific configuration only.
|
jadex.bridge.modelinfo.UnparsedExpression |
getValue(java.lang.String config)
Get the value for a specific configuration.
|
jadex.bridge.modelinfo.UnparsedExpression |
removeValue(java.lang.String config)
Removes the value for a specific configuration.
|
void |
setValue(java.lang.String config,
jadex.bridge.modelinfo.UnparsedExpression value)
Set the value for a specific configuration.
|
convertArguments, getDefaultValue, getDescription, getResult, setDescription, toString, validate
getClazz, getLanguage, getName, getParsed, getValue, setClazz, setLanguage, setName, setParsedExp, setValue
protected java.util.Map<java.lang.String,jadex.bridge.modelinfo.UnparsedExpression> configinitialvalues
public MContextVariable()
public MContextVariable(java.lang.String name, java.lang.String description, java.lang.String classname, java.lang.String defaultvalue)
public jadex.bridge.modelinfo.UnparsedExpression removeValue(java.lang.String config)
config
- The configuration.public jadex.bridge.modelinfo.UnparsedExpression getValue(java.lang.String config)
config
- The configuration.public jadex.bridge.modelinfo.UnparsedExpression getConfigValue(java.lang.String config)
config
- The configuration.public void setValue(java.lang.String config, jadex.bridge.modelinfo.UnparsedExpression value)
config
- The configuration.