|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface EntityType
Gives type information for an Entity. It is an immutable snapshot.
It reflects a given entity at the time the snapshot was created: if sensors
were added or removed on-the-fly then those changes will be included in subsequent
snapshots. Therefore instances of a given class of entity could have different
EntityTypes.
| Method Summary | |
|---|---|
brooklyn.config.ConfigKey<?> |
getConfigKey(String name)
The ConfigKey with the given name, or null if not found. |
Set<brooklyn.config.ConfigKey<?>> |
getConfigKeys()
ConfigKeys available on this entity. |
Effector<?> |
getEffector(String name,
Class<?>... parameterTypes)
|
Set<Effector<?>> |
getEffectors()
Effectors available on this entity. |
String |
getName()
The type name of this entity (normally the fully qualified class name). |
Sensor<?> |
getSensor(String name)
The Sensor with the given name, or null if not found. |
Set<Sensor<?>> |
getSensors()
Sensors available on this entity. |
String |
getSimpleName()
The simple type name of this entity (normally the unqualified class name). |
boolean |
hasSensor(String name)
|
| Method Detail |
|---|
String getName()
String getSimpleName()
Set<brooklyn.config.ConfigKey<?>> getConfigKeys()
Set<Sensor<?>> getSensors()
Set<Effector<?>> getEffectors()
Effector<?> getEffector(String name,
Class<?>... parameterTypes)
NoSuchElementException - If there is no exact match for this signaturebrooklyn.config.ConfigKey<?> getConfigKey(String name)
Sensor<?> getSensor(String name)
boolean hasSensor(String name)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||