kaos.policy.guard
Class GuardState
java.lang.Object
kaos.policy.management.PolicyState
kaos.policy.guard.GuardState
- All Implemented Interfaces:
- java.io.Serializable, StateObject
public class GuardState
- extends PolicyState
- implements java.io.Serializable
- See Also:
- Serialized Form
Constructor Summary |
GuardState()
|
GuardState(java.util.List policies,
java.util.List domainDescriptions,
java.util.List agentDescriptions,
java.util.Hashtable agentDomains,
java.lang.String guardGUID,
HistoryMonitorImpl history)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
_domainDescriptions
protected java.util.ArrayList _domainDescriptions
_agentDescriptions
protected java.util.ArrayList _agentDescriptions
_agentDomains
protected java.util.Hashtable _agentDomains
_guardGUID
protected java.lang.String _guardGUID
_history
protected HistoryMonitorImpl _history
_domainNames
protected java.util.Vector _domainNames
GuardState
public GuardState()
GuardState
public GuardState(java.util.List policies,
java.util.List domainDescriptions,
java.util.List agentDescriptions,
java.util.Hashtable agentDomains,
java.lang.String guardGUID,
HistoryMonitorImpl history)
getDomainDescriptions
public java.util.List getDomainDescriptions()
setDomainDescriptions
public void setDomainDescriptions(java.util.List domainDescs)
addDomainDescription
public void addDomainDescription(DomainDescription desc)
removeDomainDescription
public void removeDomainDescription(DomainDescription desc)
getDomainNames
public java.util.Vector getDomainNames()
addAgentDescription
public void addAgentDescription(KAoSAgentDescription desc)
removeAgentDescription
public void removeAgentDescription(KAoSAgentDescription desc)
getAgentDescriptions
public java.util.List getAgentDescriptions()
setAgentDomains
public void setAgentDomains(java.lang.String id,
java.util.List domains)
removeAgentDomains
public void removeAgentDomains(java.lang.String id)
getAgentDomains
public java.util.List getAgentDomains(java.lang.String id)
getGuardGUID
public java.lang.String getGuardGUID()
setGuardGUID
public void setGuardGUID(java.lang.String guid)
getHistory
public HistoryMonitorImpl getHistory()
setHistory
public void setHistory(HistoryMonitorImpl history)
logEvent
public void logEvent(ActionInstanceDescription event)
deleteLogs
public void deleteLogs(java.util.Vector logs)
deleteAllLogs
public void deleteAllLogs()
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object