Hyperic HQ Plugin API v. 4.4.0.2

org.hyperic.hq.grouping.prop
Interface CritterProp

All Known Implementing Classes:
DateCritterProp, EnumCritterProp, GroupCritterProp, ProtoCritterProp, ResourceCritterProp, StringCritterProp, SubjectCritterProp

public interface CritterProp

The CritterProp is a data storage class, containing the values used by critter when evaluating. A CritterProp contains an id and type and basically looks like an encapsulated method argument. Critters are evaluated like: (pseudo code) Critter1.evaluate(StringCritterProp resourceName, DateCritterProp since) Where 'StringCritterProp' equates to something implementing this type and 'resourceName' equates to the name of the variable passed to evaluation.


Method Summary
 java.lang.String getId()
          Get some id that uniquely defines this prop in the context of a critter prop list.
 CritterPropType getType()
          The type that created this prop.
 

Method Detail

getId

java.lang.String getId()
Get some id that uniquely defines this prop in the context of a critter prop list. e.g. resourceName, startDate, etc. This id allows an XML document to setup new props.


getType

CritterPropType getType()
The type that created this prop.


Hyperic HQ Plugin API v. 4.4.0.2

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