Modifier and Type | Class and Description |
---|---|
class |
ArtifactAlreadyPresentException
Exception thrown when an artifact with the same name
exists in the same workspace
|
class |
ArtifactConfigurationFailedException
Exception representing some kind of error
occurred in artifact creation
|
class |
ArtifactNotAvailableException
Exception raised when and invalid adapter is used
|
class |
ArtifactStateNotAlignedException
Exception thrown when an artifact with the same name
exists in the same workspace
|
class |
CartagoNodeAlreadyActiveException
Exception meaning that CArtAgO node is already active.
|
class |
CartagoNodeNotActiveException
Exception meaning that CArtAgO node is not active.
|
class |
FeatureNotSupportedException
Exception raised when using
a feature that is not supported
by the specific kind of artifact.
|
class |
InvalidManualException
Exception raised when referring to an unknown artifact
|
class |
ManualAlreadyRegisteredException
Exception raised when a missing manual is requested
|
class |
ManualNotAvailableException
Exception raised when a missing manual is requested
|
class |
NoArtifactException
Artifact no more available exception
|
class |
OperationException
Base class for Operation exceptions
|
class |
OperationExecutionException
Exception representing a generic operation failure
|
class |
OperationUnavailableException
Exception raised when trying to execute an operation
that does not belong to artifact usage interface
|
class |
OpRequestTimeoutException
Exception raised when an operation request timeout occurred
|
class |
SessionNotAvailableException
Exception raised when trying to open
a working session with an artifact,
which is not available
|
class |
UnknownArtifactException
Exception raised when referring to an unknown artifact
|
class |
UnknownArtifactStateException
Exception raised when specifying a state which has not been declared for an artifact
|
class |
UnknownArtifactTemplateException
Exception raised when trying to create an artifact whose template is not known
|
Modifier and Type | Method and Description |
---|---|
static void |
CartagoService.addArtifactFactory(java.lang.String wspName,
ArtifactFactory factory)
Add an artifact factory for artifact templates
|
void |
ICartagoLogger.agentJoined(long when,
AgentId id) |
void |
ICartagoLogger.agentQuit(long when,
AgentId id) |
void |
ICartagoLogger.artifactCreated(long when,
ArtifactId id,
AgentId creator) |
void |
ICartagoLogger.artifactDisposed(long when,
ArtifactId id,
AgentId disposer) |
void |
ICartagoLogger.artifactFocussed(long when,
AgentId who,
ArtifactId id,
IEventFilter ev) |
void |
ICartagoLogger.artifactNoMoreFocussed(long when,
AgentId who,
ArtifactId id) |
void |
ICartagoLogger.artifactsLinked(long when,
AgentId id,
ArtifactId linking,
ArtifactId linked) |
Artifact |
URLArtifactFactory.createArtifact(java.lang.String templateName) |
Artifact |
ExtClassLoaderArtifactFactory.createArtifact(java.lang.String templateName) |
Artifact |
DefaultArtifactFactory.createArtifact(java.lang.String templateName) |
abstract Artifact |
ArtifactFactory.createArtifact(java.lang.String templateName) |
void |
WorkspaceKernel.disposeArtifact(AgentId uid,
ArtifactId id)
Destroy an artifact
|
protected void |
AbstractWSPRuleEngine.disposeArtifact(ArtifactId id)
Dispose an existing artifact
|
long |
ICartagoSession.doAction(ArtifactId aid,
Op op,
IAlignmentTest test,
long timeout)
Executing an action, i.e.
|
long |
CartagoSession.doAction(ArtifactId aid,
Op op,
IAlignmentTest test,
long timeout) |
void |
ICartagoContext.doAction(long actionId,
ArtifactId id,
Op op,
IAlignmentTest test,
long timeout)
Use an artifact by requesting the execution of the specified operation.
|
void |
AgentBody.doAction(long actionId,
ArtifactId aid,
Op op,
IAlignmentTest test,
long timeout) |
void |
ICartagoContext.doAction(long actionId,
Op op,
IAlignmentTest test,
long timeout)
Use an artifact by requesting the execution of the specified operation.
|
void |
AgentBody.doAction(long actionId,
Op op,
IAlignmentTest test,
long timeout) |
void |
ICartagoContext.doAction(long actionId,
java.lang.String name,
Op op,
IAlignmentTest test,
long timeout)
Use an artifact by requesting the execution of the specified operation.
|
void |
AgentBody.doAction(long actionId,
java.lang.String name,
Op op,
IAlignmentTest test,
long timeout) |
long |
ICartagoSession.doAction(Op op,
IAlignmentTest test,
long timeout)
Executing an action, i.e.
|
long |
CartagoSession.doAction(Op op,
IAlignmentTest test,
long timeout) |
long |
ICartagoSession.doAction(java.lang.String artName,
Op op,
IAlignmentTest test,
long timeout)
Executing an action, i.e.
|
long |
CartagoSession.doAction(java.lang.String artName,
Op op,
IAlignmentTest test,
long timeout) |
long |
ICartagoSession.doAction(WorkspaceId wspId,
Op op,
IAlignmentTest test,
long timeout)
Executing an action, i.e.
|
long |
CartagoSession.doAction(WorkspaceId wspId,
Op op,
IAlignmentTest test,
long timeout) |
long |
ICartagoSession.doAction(WorkspaceId wspId,
java.lang.String artName,
Op op,
IAlignmentTest test,
long timeout)
Executing an action, i.e.
|
long |
CartagoSession.doAction(WorkspaceId wspId,
java.lang.String artName,
Op op,
IAlignmentTest test,
long timeout) |
OpId |
WorkspaceKernel.doInternalOp(ArtifactId aid,
Op op) |
void |
IArtifactAdapter.doOperation(cartago.OpExecutionFrame info)
Request the execution of an operation
|
OpId |
WorkspaceKernel.execInterArtifactOp(ICartagoCallback evListener,
long callbackId,
AgentId userId,
ArtifactId srcId,
ArtifactId targetId,
Op op,
long timeout,
IAlignmentTest test) |
OpId |
CartagoWorkspace.execInterArtifactOp(ICartagoCallback callback,
long agentCallbackId,
AgentId uid,
ArtifactId srcId,
ArtifactId targetId,
Op op,
long timeout,
IAlignmentTest test)
Exec an inter-artifact op
|
protected boolean |
AbstractWSPRuleEngine.execOp(ArtifactId aid,
Op op)
Execute an operation
|
void |
WorkspaceKernel.execOp(long actionId,
AgentId userId,
ICartagoCallback ctx,
ArtifactId aid,
Op op,
long timeout,
IAlignmentTest test) |
void |
WorkspaceKernel.execOp(long actionId,
AgentId userId,
ICartagoCallback ctx,
Op op,
long timeout,
IAlignmentTest test) |
void |
WorkspaceKernel.execOp(long actionId,
AgentId userId,
ICartagoCallback ctx,
java.lang.String name,
Op op,
long timeout,
IAlignmentTest test) |
java.util.List<ArtifactObsProperty> |
WorkspaceKernel.focus(AgentId userId,
IEventFilter filter,
ICartagoCallback ctx,
ArtifactId aid) |
AgentId |
ICartagoContext.getAgentId()
Get agent id in the workspace
|
ArtifactInfo |
ICartagoController.getArtifactInfo(java.lang.String name)
Get artifact information
|
protected ArtifactObsProperty |
AbstractWSPRuleEngine.getArtifactObsProp(ArtifactId id,
java.lang.String propName)
Get the value of an artifact observable property
|
static ICartagoController |
CartagoService.getController(java.lang.String wspName)
Getting a controller.
|
AgentId[] |
ICartagoController.getCurrentAgents()
Get current user list.
|
ArtifactId[] |
ICartagoController.getCurrentArtifacts()
Get current artifact list
|
WorkspaceId |
ICartagoSession.getCurrentWorkspace()
Get the current workspace identifier.
|
static CartagoNode |
CartagoNode.getInstance()
Get a reference to the CartagoNode
|
java.util.List<OpDescriptor> |
IArtifactAdapter.getOperations()
Get the operations
|
java.util.List<OperationInfo> |
IArtifactAdapter.getOpInExecution()
Get current operation in execution
|
CartagoWorkspace |
CartagoNode.getWorkspace(java.lang.String wspName)
Get the reference to a workspace of the node.
|
WorkspaceId |
ICartagoContext.getWorkspaceId()
Get workspace id
|
void |
IArtifactAdapter.initArtifact(ArtifactConfig cfg)
Init the artifact.
|
static void |
CartagoService.installInfrastructureLayer(java.lang.String type)
Install a CArtAgO infrastructure layer, to enable interaction with remote nodes.
|
ICartagoContext |
CartagoWorkspace.join(cartago.security.AgentCredential cred,
ICartagoCallback agentCallback)
Get a context to work inside the workspace
|
ICartagoContext |
WorkspaceKernel.joinWorkspace(cartago.security.AgentCredential cred,
ICartagoCallback eventListener) |
void |
WorkspaceKernel.linkArtifacts(AgentId userId,
ArtifactId artifactOutId,
java.lang.String artifactOutPort,
ArtifactId artifactInId) |
void |
IArtifactAdapter.linkTo(ArtifactId aid,
java.lang.String portName)
Link to an artifact, specifying the out port
|
protected ArtifactId |
AbstractWSPRuleEngine.makeArtifact(java.lang.String artifactName,
java.lang.String templateName,
java.lang.Object... params)
Create a new artifact
|
void |
ICartagoLogger.newPercept(long when,
ArtifactId aid,
Tuple signal,
ArtifactObsProperty[] added,
ArtifactObsProperty[] removed,
ArtifactObsProperty[] changed) |
void |
WorkspaceKernel.notifyAgentPositionOrRadiusChange(AgentId agentId) |
void |
WorkspaceKernel.notifyArtifactPositionOrRadiusChange(ArtifactId id) |
void |
ICartagoLogger.opCompleted(long when,
OpId id,
ArtifactId aid,
Op op) |
void |
ICartagoLogger.opFailed(long when,
OpId id,
ArtifactId aid,
Op op,
java.lang.String msg,
Tuple descr) |
void |
ICartagoLogger.opRequested(long when,
AgentId who,
ArtifactId aid,
Op op) |
void |
ICartagoLogger.opResumed(long when,
OpId id,
ArtifactId aid,
Op op) |
void |
ICartagoLogger.opStarted(long when,
OpId id,
ArtifactId aid,
Op op) |
void |
ICartagoLogger.opSuspended(long when,
OpId id,
ArtifactId aid,
Op op) |
void |
WorkspaceKernel.quitAgent(AgentId userId) |
ArtifactObsProperty |
IArtifactAdapter.readProperty(java.lang.String propertyName)
Read a property
|
static void |
CartagoService.registerLogger(java.lang.String wspName,
ICartagoLogger logger)
Register a new logger for CArtAgO Workspace Kernel events
|
static void |
CartagoService.registerLoggerToRemoteWsp(java.lang.String wspName,
java.lang.String address,
java.lang.String protocol,
ICartagoLogger logger)
Register a new logger for a remote CArtAgO Workspace
|
boolean |
ICartagoController.removeAgent(java.lang.String agentGlobaId)
Remove a user from the workspace
|
boolean |
ICartagoController.removeArtifact(java.lang.String artifactName)
Remove an artifact from the workspace
|
static void |
CartagoService.removeArtifactFactory(java.lang.String wspName,
java.lang.String name)
Remove an existing class loader for artifacts
|
void |
ICartagoSession.setCurrentWorkspace(WorkspaceId wspId)
Internal action to change the current workspace.
|
void |
CartagoSession.setCurrentWorkspace(WorkspaceId wspId) |
protected void |
Artifact.setupOperations()
Set up artifact operations.
|
static void |
CartagoService.shutdownNode()
Shutdown the CArtAgO node.
|
static void |
CartagoService.startInfrastructureService(java.lang.String type)
Start a CArtAgO infrastructure service, to allow remote agents to work on this node using the specified protocol.
|
static void |
CartagoService.startInfrastructureService(java.lang.String type,
java.lang.String address)
Start a CArtAgO infrastructure service, to allow remote agents to work on this node using the specified protocol.
|
static void |
CartagoService.startNode()
Start a CArtAgO node.
|
static void |
CartagoService.startNode(ICartagoLogger logger)
Start a CArtAgO node.
|
static ICartagoSession |
CartagoService.startRemoteSession(java.lang.String wspName,
java.lang.String wspAddress,
java.lang.String protocol,
cartago.security.AgentCredential cred,
ICartagoListener eventListener)
Start a working session in a remote workspace.
|
static ICartagoSession |
CartagoService.startSession(java.lang.String wspName,
cartago.security.AgentCredential cred,
ICartagoListener eventListener)
Start a CArtAgO session in a local workspace.
|
java.util.List<ArtifactObsProperty> |
WorkspaceKernel.stopFocus(AgentId userId,
ICartagoCallback ctx,
ArtifactId aid) |
static void |
CartagoService.unregisterLogger(java.lang.String wspName,
ICartagoLogger logger)
Unregister a logger
|
>DEIS - University of Bologna