Package jadex.model.modelinfo
Class ConfigurationInfo
java.lang.Object
jadex.model.modelinfo.Startable
jadex.model.modelinfo.ConfigurationInfo
Information contained in a component configuration.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected List<jadex.common.UnparsedExpression> The list of argument default values.protected List<ComponentInstanceInfo> The list of contained components.protected List<jadex.common.UnparsedExpression> The end steps.protected List<jadex.common.UnparsedExpression> The initial steps.protected StringThe name.protected List<jadex.common.UnparsedExpression> The list of result default values.Fields inherited from class jadex.model.modelinfo.Startable
description -
Constructor Summary
ConstructorsConstructorDescriptionCreate a new application.ConfigurationInfo(String name) Create a new application. -
Method Summary
Modifier and TypeMethodDescriptionvoidaddArgument(jadex.common.UnparsedExpression argument) Add an argument.voidaddComponentInstance(ComponentInstanceInfo component) Add a component.voidaddEndStep(jadex.common.UnparsedExpression endstep) Add a end step.voidaddInitialStep(jadex.common.UnparsedExpression initialstep) Add a initial step.voidaddResult(jadex.common.UnparsedExpression res) Add a result.jadex.common.UnparsedExpression[]Get the list of arguments.Get all components.jadex.common.UnparsedExpression[]Get the end steps.jadex.common.UnparsedExpression[]Get the initial steps.getName()Get the name.jadex.common.UnparsedExpression[]Get the list of results.booleanhasArgument(String name) Test if has an argument.booleanhasComponentInstance(String name, String typename) Test if has a component instance.booleanTest if has a result.voidremoveComponentInstance(ComponentInstanceInfo component) Removes a component.voidsetArguments(jadex.common.UnparsedExpression[] arguments) Set the arguments.voidsetEndSteps(jadex.common.UnparsedExpression[] endsteps) Set the end steps.voidsetInitialSteps(jadex.common.UnparsedExpression[] initialsteps) Set the initial steps.voidSet the name.voidsetResults(jadex.common.UnparsedExpression[] results) Set the arguments.Methods inherited from class jadex.model.modelinfo.Startable
getDescription, getKeepalive, getSuspend, getSynchronous, setDescription, setKeepalive, setSuspend, setSynchronous
-
Field Details
-
name
The name. -
components
The list of contained components. -
arguments
The list of argument default values. -
results
The list of result default values. -
initialsteps
The initial steps. -
endsteps
The end steps.
-
-
Constructor Details
-
ConfigurationInfo
public ConfigurationInfo()Create a new application. -
ConfigurationInfo
Create a new application.
-
-
Method Details
-
getName
Get the name.- Returns:
- The name.
-
setName
Set the name.- Parameters:
name- The name to set.
-
addComponentInstance
Add a component.- Parameters:
component- The component.
-
removeComponentInstance
Removes a component.- Parameters:
component- The component.
-
getComponentInstances
Get all components.- Returns:
- The components.
-
hasComponentInstance
Test if has a component instance. -
getArguments
public jadex.common.UnparsedExpression[] getArguments()Get the list of arguments.- Returns:
- The arguments.
-
setArguments
public void setArguments(jadex.common.UnparsedExpression[] arguments) Set the arguments.- Parameters:
arguments- The arguments to set.
-
addArgument
public void addArgument(jadex.common.UnparsedExpression argument) Add an argument.- Parameters:
arg- The argument.
-
hasArgument
Test if has an argument. -
getResults
public jadex.common.UnparsedExpression[] getResults()Get the list of results.- Returns:
- The results.
-
setResults
public void setResults(jadex.common.UnparsedExpression[] results) Set the arguments.- Parameters:
arguments- The arguments to set.
-
hasResult
Test if has a result. -
addResult
public void addResult(jadex.common.UnparsedExpression res) Add a result.- Parameters:
res- The result.
-
getInitialSteps
public jadex.common.UnparsedExpression[] getInitialSteps()Get the initial steps.- Returns:
- The initial steps.
-
setInitialSteps
public void setInitialSteps(jadex.common.UnparsedExpression[] initialsteps) Set the initial steps.- Parameters:
initial- steps The initial steps to set.
-
addInitialStep
public void addInitialStep(jadex.common.UnparsedExpression initialstep) Add a initial step.- Parameters:
initialstep- The initial step.
-
getEndSteps
public jadex.common.UnparsedExpression[] getEndSteps()Get the end steps.- Returns:
- The end steps.
-
setEndSteps
public void setEndSteps(jadex.common.UnparsedExpression[] endsteps) Set the end steps.- Parameters:
end- steps The end steps to set.
-
addEndStep
public void addEndStep(jadex.common.UnparsedExpression endstep) Add a end step.- Parameters:
endstep- The end step.
-