Hyperic HQ Plugin API v. 4.4.0.2

org.hyperic.hq.grouping
Class CritterList

java.lang.Object
  extended by 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)
           
 
Method Summary
 boolean equals(java.lang.Object other)
           
 java.util.List getCritters()
           
 int hashCode()
           
 boolean isAll()
           
 boolean isAny()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CritterList

public CritterList(java.util.List critters,
                   boolean isAny)
Parameters:
critters - list of Critters
isAny - if true, any critter can be matched for the list to succeed (OR condition), else AND
Method Detail

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

Hyperic HQ Plugin API v. 4.4.0.2

Copyright © 2004-2006 Hyperic, Inc. support@hyperic.net, All Rights Reserved.