kaos.policy.guard
Class GuardState

java.lang.Object
  extended by kaos.policy.management.PolicyState
      extended by kaos.policy.guard.GuardState
All Implemented Interfaces:
java.io.Serializable, StateObject

public class GuardState
extends PolicyState
implements java.io.Serializable

See Also:
Serialized Form

Field Summary
protected  java.util.ArrayList _agentDescriptions
           
protected  java.util.Hashtable _agentDomains
           
protected  java.util.ArrayList _domainDescriptions
           
protected  java.util.Vector _domainNames
           
protected  java.lang.String _guardGUID
           
protected  HistoryMonitorImpl _history
           
 
Fields inherited from class kaos.policy.management.PolicyState
_policies
 
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)
           
 
Method Summary
 void addAgentDescription(KAoSAgentDescription desc)
           
 void addDomainDescription(DomainDescription desc)
           
 void deleteAllLogs()
           
 void deleteLogs(java.util.Vector logs)
           
 java.util.List getAgentDescriptions()
           
 java.util.List getAgentDomains(java.lang.String id)
           
 java.util.List getDomainDescriptions()
           
 java.util.Vector getDomainNames()
           
 java.lang.String getGuardGUID()
           
 HistoryMonitorImpl getHistory()
           
 void logEvent(ActionInstanceDescription event)
           
 void removeAgentDescription(KAoSAgentDescription desc)
           
 void removeAgentDomains(java.lang.String id)
           
 void removeDomainDescription(DomainDescription desc)
           
 void setAgentDomains(java.lang.String id, java.util.List domains)
           
 void setDomainDescriptions(java.util.List domainDescs)
           
 void setGuardGUID(java.lang.String guid)
           
 void setHistory(HistoryMonitorImpl history)
           
 java.lang.String toString()
           
 
Methods inherited from class kaos.policy.management.PolicyState
addPolicies, changePolicies, getPolicies, removePolicies, setPolicies
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

_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
Constructor Detail

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)
Method Detail

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