|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcartago.AgentBody
public class AgentBody
Agent descriptor - keeping track of agent info inside a workspace
Field Summary | |
---|---|
protected ICartagoCallback |
agentCallback
|
protected AgentBodyArtifact |
bodyArtifact
|
protected java.util.LinkedList<ArtifactDescriptor> |
focusedArtifacts
|
Method Summary | |
---|---|
void |
addFocusedArtifacts(ArtifactDescriptor des)
|
void |
doAction(long actionId,
ArtifactId aid,
Op op,
IAlignmentTest test,
long timeout)
Use an artifact by requesting the execution of the specified operation. |
void |
doAction(long actionId,
Op op,
IAlignmentTest test,
long timeout)
Use an artifact by requesting the execution of the specified operation. |
void |
doAction(long actionId,
java.lang.String name,
Op op,
IAlignmentTest test,
long timeout)
Use an artifact by requesting the execution of the specified operation. |
AgentBodyArtifact |
getAgentBodyArtifact()
|
AgentId |
getAgentId()
Get agent id in the workspace |
ICartagoCallback |
getCallback()
|
WorkspaceId |
getWorkspaceId()
Get workspace id |
WorkspaceKernel |
getWSPKernel()
|
boolean |
isObserving(ArtifactId id)
|
void |
removeFocusedArtifacts(ArtifactDescriptor des)
|
void |
setBodyArtifact(AgentBodyArtifact art)
|
void |
updateObsArtifactListWith(java.util.List<ObservableArtifactInfo> list,
java.util.List<ObservableArtifactInfo> stopFocus,
java.util.List<ObservableArtifactInfo> newFocus)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected ICartagoCallback agentCallback
protected java.util.LinkedList<ArtifactDescriptor> focusedArtifacts
protected AgentBodyArtifact bodyArtifact
Method Detail |
---|
public AgentId getAgentId()
ICartagoContext
getAgentId
in interface ICartagoContext
public WorkspaceId getWorkspaceId()
ICartagoContext
getWorkspaceId
in interface ICartagoContext
public WorkspaceKernel getWSPKernel()
public void setBodyArtifact(AgentBodyArtifact art)
public AgentBodyArtifact getAgentBodyArtifact()
public void doAction(long actionId, ArtifactId aid, Op op, IAlignmentTest test, long timeout) throws CartagoException
ICartagoContext
doAction
in interface ICartagoContext
actionId
- identifier of the use action - used by the callbackaid
- target artifactop
- operation to executetest
- alignment test - null if not specifiedtimeout
- operation timeout - -1 if not specified
CartagoException
public void doAction(long actionId, java.lang.String name, Op op, IAlignmentTest test, long timeout) throws CartagoException
ICartagoContext
doAction
in interface ICartagoContext
actionId
- identifier of the use action - used by the callbackname
- target artifactop
- operation to executetest
- alignment test - null if not specifiedtimeout
- operation timeout - -1 if not specified
CartagoException
public void doAction(long actionId, Op op, IAlignmentTest test, long timeout) throws CartagoException
ICartagoContext
doAction
in interface ICartagoContext
actionId
- identifier of the use action - used by the callbackop
- operation to executetest
- alignment test - null if not specifiedtimeout
- operation timeout - -1 if not specified
CartagoException
public void addFocusedArtifacts(ArtifactDescriptor des)
public void removeFocusedArtifacts(ArtifactDescriptor des)
public ICartagoCallback getCallback()
public boolean isObserving(ArtifactId id)
public void updateObsArtifactListWith(java.util.List<ObservableArtifactInfo> list, java.util.List<ObservableArtifactInfo> stopFocus, java.util.List<ObservableArtifactInfo> newFocus)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |