com.oakgrovesystems.reactor.processMediation
Interface ProcessCondition

All Superinterfaces:
Condition
All Known Implementing Classes:
AbstractProcessCondition, ProcessConditionConjunction, ProcessConditionDisjunction, ProcessConditionInversion

public interface ProcessCondition
extends Condition

A Condition that is a boolean function of the state of one or more Processes. Evaluated by looking up the necessary Processes from a Map.


Method Summary
 com.oakgrovesystems.reactor.processMediation.ProcessCondition copy()
          returns a deep copy of this ProcessCondition.
 java.util.Map getObjectMap()
          gets the Map that is used to lookup Process objects necessary to evaluate the ProcessCondition.
 boolean sameAs(java.lang.Object o)
          tests this ProcessCondition for content equality with another object.
 void setObjectMap(java.util.Map objectMap)
          Sets the Map that is used to lookup Process objects necessary to evaluate the ProcessCondition.
 
Methods inherited from interface com.oakgrovesystems.mediation.Condition
isMadeFalseBy, isMadeTrueBy, isTrue
 

Method Detail

setObjectMap

public void setObjectMap(java.util.Map objectMap)
Sets the Map that is used to lookup Process objects necessary to evaluate the ProcessCondition.

Parameters:
objectMap - the Map to be used for evaluation.

getObjectMap

public java.util.Map getObjectMap()
gets the Map that is used to lookup Process objects necessary to evaluate the ProcessCondition.

Returns:
the Map that is used for evaluation

copy

public com.oakgrovesystems.reactor.processMediation.ProcessCondition copy()
returns a deep copy of this ProcessCondition.

Returns:
a deep copy of this ProcessCondition.

sameAs

public boolean sameAs(java.lang.Object o)
tests this ProcessCondition for content equality with another object.

Parameters:
o - the object to compare with this ProcessCondition for equality.
Returns:
true if the two objects' classes and content are equal. false otherwise.


Copyright (c) 1999-2004 Oak Grove Systems. All Rights Reserved.