|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface KAoSAgentDescription
Defines the operations to access information about a KAoS agent. The information includes the ids of Guards guarding the agent, the id of the container the agent is running in, the agent's nickname, security status, and whether the agent supports conversations.
Field Summary | |
---|---|
static java.lang.String |
AGENT_CAPABILITIES
|
static java.lang.String |
AGENT_CONTAINER
|
static java.lang.String |
AGENT_GUARD_IDS
|
static java.lang.String |
AGENT_NICKNAME
|
static java.lang.String |
AGENT_SECURITY_STATUS
|
static java.lang.String |
AGENT_SUPPORTS_CONVERSATIONS
|
static java.lang.String |
BasicAgentDescription_LOCATORS
|
static java.lang.String |
BasicAgentDescription_NAME
|
static java.lang.String[] |
HIDDEN_KEY_NAMES
|
static java.lang.String |
IS_GOVERNABLE
|
Fields inherited from interface kaos.core.service.directory.KAoSEntityDescription |
---|
CONCEPT_MAPPING_NAME, ENTITY_DAML_S_TYPES, ENTITY_DOMAIN_NAMES, ENTITY_HOST_ADDRESS, ENTITY_HOST_NAME, ENTITY_ONTOLOGICAL_TYPE_NAMES, ENTITY_ONTOLOGICAL_TYPES, ENTITY_TYPE, EXECUTION_ENVIRONMENT, FULL_SEARCH, IS_ENTITY_POLICY_SUBJECT, IS_ENTITY_RUNNING, SEARCH_PARAMS |
Method Summary | |
---|---|
void |
addCapability(AgentCapability capability)
Add an AgentCapability to this description. |
void |
addGuardID(java.lang.String id)
Set the id of a Guard that is guarding the agent's execution environment. |
java.lang.String |
getAgentContainer()
Obtain the id of agent's container. |
java.lang.String |
getAgentNickname()
Obtain the agent's nickname property contained by this KAoSAgentDescription. |
java.util.List |
getCapabilities()
Obtain the collection of AgentCapabilities of this agent. |
java.util.List |
getGuardIDs()
Obtain the ids of the Guards that are guarding the agent's execution environment. |
java.lang.String |
getSecurityStatus()
Obtain the GUARDED/UNGUARDED security status of the agent. |
boolean |
getSupportsConversations()
Obtain the property indicating whether the agent supports KAoS conversations. |
boolean |
removeCapability(AgentCapability capability)
Remove the specified AgentCapability from the collection of this agent's capabilities. |
boolean |
removeGuardID(java.lang.String id)
Remove an id of a Guard from the collection of Guard ids held by the KAoSAgentDescription. |
void |
setAgentContainer(java.lang.String container)
Set the container id the agent is running in. |
void |
setAgentNickname(java.lang.String name)
Set the agent's nickname. |
void |
setCapabilities(java.util.List capabilities)
Set the collection of AgentCapabilities of this agent. |
void |
setSecurityStatus(java.lang.String status)
Set agent's security status. |
void |
setSupportsConversations(boolean supports)
Set the property telling whether the agent supports conversations. |
Field Detail |
---|
static final java.lang.String IS_GOVERNABLE
static final java.lang.String AGENT_CONTAINER
static final java.lang.String AGENT_NICKNAME
static final java.lang.String AGENT_GUARD_IDS
static final java.lang.String AGENT_SECURITY_STATUS
static final java.lang.String AGENT_SUPPORTS_CONVERSATIONS
static final java.lang.String AGENT_CAPABILITIES
static final java.lang.String BasicAgentDescription_NAME
static final java.lang.String BasicAgentDescription_LOCATORS
static final java.lang.String[] HIDDEN_KEY_NAMES
Method Detail |
---|
void setAgentContainer(java.lang.String container)
container
- The id of the container in which the agent is running.java.lang.String getAgentContainer()
void setAgentNickname(java.lang.String name)
name
- The nickname the agent is using in addition to its name (GUID).java.lang.String getAgentNickname()
void addGuardID(java.lang.String id)
id
- The id of one of the agent's Guard.java.util.List getGuardIDs()
boolean removeGuardID(java.lang.String id)
name
- The id of a Guard to be removed from the collection of Guard ids.
void setSupportsConversations(boolean supports)
supports
- The supports argument indicates whether the agent supports KAoS conversations.boolean getSupportsConversations()
void setSecurityStatus(java.lang.String status)
status
- The GUARDED/UNGUARDED security status of the agent.java.lang.String getSecurityStatus()
void addCapability(AgentCapability capability)
capability
- AgentCapability describing individual capability of this agent.boolean removeCapability(AgentCapability capability)
capability
- The AgentCapability to be added to the collection of this agent's capabilities.
void setCapabilities(java.util.List capabilities)
capabilities
- List containing the AgentCapabilities of this agent.java.util.List getCapabilities()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |