|
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.ResourceTypeCritterType
public class ResourceTypeCritterType
Meta data for ResourceTypeCritter which matches ResourceTypeName joined from EAM_RESOURCE_TYPE table
Nested Class Summary | |
---|---|
class |
ResourceTypeCritterType.ResourceTypeCritter
Fetches all Resources which match the ResourceTypeName, joins the EAM_RESOURCE_TYPE table, doesn't use proto |
Constructor Summary | |
---|---|
ResourceTypeCritterType()
|
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 c,
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. |
Critter |
newInstance(java.lang.String resTypeName,
java.lang.Integer protoToExclude)
|
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 ResourceTypeCritterType()
Method Detail |
---|
public Critter compose(CritterDump dump)
CritterType
dump
- The CritterDump
containing the critter properties
used to populate the new Critter instance.public void decompose(Critter c, CritterDump dump)
CritterType
dump
- The Critter
instance from which the critter
properties will be read to populate the CritterDump.public boolean isUserVisible()
CritterType
org.hyperic.hq.groupingCritterList
s.
public boolean isSystem()
CritterType
public Critter newInstance(java.lang.String resTypeName, java.lang.Integer protoToExclude)
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 |