public interface ICartagoContext
Modifier and Type | Method and Description |
---|---|
void |
doAction(long actionId,
ArtifactId id,
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.
|
AgentId |
getAgentId()
Get agent id in the workspace
|
WorkspaceId |
getWorkspaceId()
Get workspace id
|
void doAction(long actionId, ArtifactId id, Op op, IAlignmentTest test, long timeout) throws CartagoException
actionId
- identifier of the use action - used by the callbackid
- target artifactop
- operation to executetest
- alignment test - null if not specifiedtimeout
- operation timeout - -1 if not specifiedCartagoException
void doAction(long actionId, java.lang.String name, Op op, IAlignmentTest test, long timeout) throws CartagoException
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 specifiedCartagoException
void doAction(long actionId, Op op, IAlignmentTest test, long timeout) throws CartagoException
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 specifiedCartagoException
WorkspaceId getWorkspaceId() throws CartagoException
CartagoException
AgentId getAgentId() throws CartagoException
CartagoException
>DEIS - University of Bologna