|
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 | ||||||||
java.lang.Objectorg.hyperic.hq.grouping.critters.BaseCritterType
org.hyperic.hq.grouping.critters.DescendantProtoCritterType
public class DescendantProtoCritterType
This type of criteria is used to provide the same functionality as autogroups. "Show me all descendants of this platform that are of type 'Fileserver File'"
| Constructor Summary | |
|---|---|
DescendantProtoCritterType()
|
|
| 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. |
Resource |
getPrototype()
|
Resource |
getRoot()
|
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.groupingCritterLists. |
Critter |
newInstance(java.util.Map critterProps)
Create a new instance of this critter type. |
org.hyperic.hq.grouping.critters.DescendantProtoCritterType.DescendantProtoCritter |
newInstance(Resource root,
Resource proto)
|
| Methods inherited from class org.hyperic.hq.grouping.critters.BaseCritterType |
|---|
addEnumPropDescription, addPropDescription, addPropDescription, getBundle, getDescription, getInstanceConfig, getName, getPropDescriptions, getResourceProperty, initialize, validate |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DescendantProtoCritterType()
| Method Detail |
|---|
public Resource getRoot()
public Resource getPrototype()
public org.hyperic.hq.grouping.critters.DescendantProtoCritterType.DescendantProtoCritter newInstance(Resource root,
Resource proto)
public Critter newInstance(java.util.Map critterProps)
throws GroupException
CritterType
critterProps - a map of prop IDs onto the actual props.
The keys must match ids of props as returned by
CritterProp.getId()
GroupException
public Critter compose(CritterDump dump)
throws GroupException
CritterType
dump - The CritterDump containing the critter properties
used to populate the new Critter instance.
GroupException
public void decompose(Critter critter,
CritterDump dump)
throws GroupException
CritterType
dump - The Critter instance from which the critter
properties will be read to populate the CritterDump.
GroupExceptionpublic boolean isUserVisible()
CritterTypeorg.hyperic.hq.groupingCritterLists.
public boolean isSystem()
CritterType
|
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 | ||||||||