|
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.ProtoCritterType
public class ProtoCritterType
Metadata for ProtoCritter which matches all Prototypes in EAM_RESOURCE by proto_id
Nested Class Summary | |
---|---|
class |
ProtoCritterType.ProtoCritter
Fetches all the Prototypes from EAM_RESOURCE by proto_id |
Constructor Summary | |
---|---|
ProtoCritterType()
|
|
ProtoCritterType(boolean system)
|
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. |
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. |
ProtoCritterType.ProtoCritter |
newInstance(Resource name)
|
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 ProtoCritterType(boolean system)
public ProtoCritterType()
Method Detail |
---|
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.
GroupException
public boolean isUserVisible()
CritterType
org.hyperic.hq.groupingCritterList
s.
public boolean isSystem()
CritterType
public ProtoCritterType.ProtoCritter newInstance(Resource name)
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
|
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 |