kaos.core.service.directory
Interface KAoSAgentContainerDescription

All Superinterfaces:
KAoSEntityDescription
All Known Implementing Classes:
DefaultKAoSAgentContainerDescription

public interface KAoSAgentContainerDescription
extends KAoSEntityDescription

Defines the operations to access information about a KAoS agent container. The information includes the ids of Guards guarding the container, 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
 
Method Summary
 void addGuardID(java.lang.String id)
           
 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 removeGuardID(java.lang.String id)
          Remove an id of a Guard from the collection of Guard ids held by the KAoSAgentDescription.
 void setSecurityStatus(java.lang.String status)
          Set agent's security status.
 
Methods inherited from interface kaos.core.service.directory.KAoSEntityDescription
addDomainName, addEntityDAMLSType, addEntityOntologicalType, clearLocators, getConceptMappingName, getDomainNames, getEntityDAMLSTypeNames, getEntityDAMLSTypes, getEntityNameAsString, getEntityOntologicalType, getEntityOntologicalTypeNames, getEntityOntologicalTypes, getEntityType, getExecutionEnv, getHostAddress, getHostName, isEntityPolicySubject, isEntityRunning, modifyProperties, removeDomainName, removeEntityDAMLSType, removeEntityOntologicalType, removeExecutionEnv, removeHostAddress, removeHostName, setConceptMappingName, setDomainNames, setEntityDAMLSTypes, setEntityNameAsString, setEntityOntologicalType, setEntityOntologicalTypes, setEntityType, setExecutionEnv, setHostAddress, setHostName, setIsEntityPolicySubject, setIsEntityRunning
 

Method Detail

addGuardID

void addGuardID(java.lang.String id)

getGuardIDs

java.util.List getGuardIDs()
Obtain the ids of the Guards that are guarding the agent's execution environment.

Returns:
List containing the ids of Guards guarding the agent.

removeGuardID

boolean removeGuardID(java.lang.String id)
Remove an id of a Guard from the collection of Guard ids held by the KAoSAgentDescription.

Parameters:
name - The id of a Guard to be removed from the collection of Guard ids.
Returns:
true if the collection of Guard ids contained the specified id; otherwise return false.

setSecurityStatus

void setSecurityStatus(java.lang.String status)
Set agent's security status.

Parameters:
status - The GUARDED/UNGUARDED security status of the agent.

getSecurityStatus

java.lang.String getSecurityStatus()
Obtain the GUARDED/UNGUARDED security status of the agent.

Returns:
String containing the agent's security status.