|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object BasicAgentDescription kaos.core.service.directory.DefaultKAoSEntityDescription kaos.core.service.directory.DefaultKAoSAgentContainerDescription
public class DefaultKAoSAgentContainerDescription
Implements the operations to access information about a KAoS agent container The information includes the ids of Guards guarding the agent, security status
Field Summary |
---|
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 |
Constructor Summary | |
---|---|
DefaultKAoSAgentContainerDescription()
|
Method Summary | |
---|---|
void |
addGuardID(java.lang.String id)
Set the id of a Guard that is guarding the agent's execution environment. |
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/UNGUARDE security status of the agent. |
boolean |
removeGuardID(java.lang.String id)
Remove a Guard id from the collection of Guard ids held by this KAoSAgentDescription. |
void |
setSecurityStatus(java.lang.String status)
Set agent's security status. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public DefaultKAoSAgentContainerDescription()
Method Detail |
---|
public void addGuardID(java.lang.String id)
addGuardID
in interface KAoSAgentContainerDescription
id
- The id of one of the agent's Guard.public java.util.List getGuardIDs()
getGuardIDs
in interface KAoSAgentContainerDescription
public boolean removeGuardID(java.lang.String id)
removeGuardID
in interface KAoSAgentContainerDescription
name
- The id of a Guard to be removed from the collection of Guard ids.
public void setSecurityStatus(java.lang.String status)
setSecurityStatus
in interface KAoSAgentContainerDescription
name
- The GUARDED/UNGUARDED security status of the agent.public java.lang.String getSecurityStatus()
getSecurityStatus
in interface KAoSAgentContainerDescription
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |