public class AgentStartConfiguration
extends java.lang.Object
implements java.io.Serializable
Project in order
to save the configuration of the projects agents.| Constructor and Description |
|---|
AgentStartConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
int |
addReference(java.lang.String agentReference,
java.lang.String ontoReference)
Adds a further ontoReference as start argument to the vector of start arguments.
|
boolean |
containsKey(java.lang.String agentReference) |
java.util.Vector<AgentStartArgument> |
get(java.lang.String agentReference)
Gets the start arguments for a single agent.
|
java.util.Vector<AgentStartArguments> |
getAgentStartArguments()
Returns the agent start arguments.
|
AgentStartArguments |
getAgentStartArguments(java.lang.String agentReference)
Gets the agent start arguments.
|
int |
movePosition(java.lang.String agentReference,
int selectedIndex,
int direction)
Move position.
|
void |
remove(java.lang.String agentReference)
Removes the start configuration of an agent.
|
void |
removeAllReferences(java.lang.String agentReference)
Removes the all references.
|
int |
removeReference(java.lang.String agentReference,
int selectedIndex)
Removes the reference.
|
void |
setAgentStartArguments(java.util.Vector<AgentStartArguments> agentStartArguments)
Sets the agent start arguments.
|
public void setAgentStartArguments(java.util.Vector<AgentStartArguments> agentStartArguments)
agentStartArguments - the new agent start argumentspublic java.util.Vector<AgentStartArguments> getAgentStartArguments()
public AgentStartArguments getAgentStartArguments(java.lang.String agentReference)
agentReference - the agent referencepublic boolean containsKey(java.lang.String agentReference)
public java.util.Vector<AgentStartArgument> get(java.lang.String agentReference)
agentReference - the agent referencepublic void remove(java.lang.String agentReference)
agentReference - the agent referencepublic int addReference(java.lang.String agentReference,
java.lang.String ontoReference)
agentReference - the agent referenceontoReference - the onto referencepublic int removeReference(java.lang.String agentReference,
int selectedIndex)
agentReference - the agent referenceselectedIndex - the index positionpublic void removeAllReferences(java.lang.String agentReference)
agentReference - the agent referencepublic int movePosition(java.lang.String agentReference,
int selectedIndex,
int direction)
agentReference - the agent referenceselectedIndex - the selected indexdirection - the direction