org.hyperic.hq.grouping
Class CritterList
java.lang.Object
org.hyperic.hq.grouping.CritterList
public class CritterList
- extends java.lang.Object
Holds a list of critters.
Constructor Summary |
CritterList(java.util.List critters,
boolean isAny)
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
CritterList
public CritterList(java.util.List critters,
boolean isAny)
- Parameters:
critters
- list of Critter
sisAny
- if true, any critter can be matched for the list to
succeed (OR condition), else AND
getCritters
public java.util.List getCritters()
isAny
public boolean isAny()
- Returns:
- true iff the list of criteria represents a logical OR of its
constituent criteria
isAll
public boolean isAll()
- Returns:
- true iff the list of criteria represents a logical AND of its
constituent criteria
equals
public boolean equals(java.lang.Object other)
- Overrides:
equals
in class java.lang.Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
Copyright © 2004-2006 Hyperic, Inc. support@hyperic.net, All Rights Reserved.