org.hyperic.hq.measurement.galerts
Class SizeComparator
java.lang.Object
org.hyperic.util.HypericEnum
org.hyperic.hq.measurement.galerts.SizeComparator
- All Implemented Interfaces:
- java.io.Serializable, JSON
public class SizeComparator
- extends HypericEnum
This class is used for the less/more than part of the
MeasurementGtrigger
comparison when determining if a number of
resources has met a condition.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
LESS_THAN
public static final SizeComparator LESS_THAN
MORE_THAN
public static final SizeComparator MORE_THAN
isTrue
public boolean isTrue(int one,
int two)
- Returns true if one is greater than or less than 2 (depending on the
instance of
SizeComparator
getAll
public static java.util.List getAll()
findByCode
public static SizeComparator findByCode(int code)
Copyright © 2004-2006 Hyperic, Inc. support@hyperic.net, All Rights Reserved.