|
Hyperic HQ Plugin API v. 4.4.0.2 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CritterType
Method Summary | |
---|---|
Critter |
compose(CritterDump dump)
Returns a Critter instance of this critter type based on the critter properties passed through in the CritterDump. |
void |
decompose(Critter critter,
CritterDump dump)
Returns a Critter instance of this critter type based on the critter properties passed through in the CritterDump. |
java.lang.String |
getDescription()
Returns a localized description 'Matches resource names against a regular expression' 'Matches resources modified before or after a date' |
java.lang.String |
getName()
Returns a localized name of this critter 'Resource Name' 'Modified Time' |
java.util.List |
getPropDescriptions()
Returns a list of CritterPropDescription s, describing the order
and constitution of the props
"What arguments do I need to configure this critter?" |
boolean |
isSystem()
Return true if the Critter is an internal one and used by the system. |
boolean |
isUserVisible()
returns true if this critter should be visible to the UI for user-defined org.hyperic.hq.groupingCritterList s. |
Critter |
newInstance(java.util.Map critterProps)
Create a new instance of this critter type. |
Method Detail |
---|
java.util.List getPropDescriptions()
CritterPropDescription
s, describing the order
and constitution of the props
"What arguments do I need to configure this critter?"
java.lang.String getName()
java.lang.String getDescription()
Critter newInstance(java.util.Map critterProps) throws GroupException
critterProps
- a map of prop IDs onto the actual props.
The keys must match ids of props as returned by
CritterProp.getId()
GroupException
Critter compose(CritterDump dump) throws GroupException
dump
- The CritterDump
containing the critter properties
used to populate the new Critter instance.
GroupException
void decompose(Critter critter, CritterDump dump) throws GroupException
dump
- The Critter
instance from which the critter
properties will be read to populate the CritterDump.dump
- The CritterDump
whose properties will be
populated based on the Critter instance.
GroupException
boolean isSystem()
boolean isUserVisible()
org.hyperic.hq.groupingCritterList
s.
|
Hyperic HQ Plugin API v. 4.4.0.2 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |