public class EntityTypeSnapshot extends BrooklynTypeSnapshot implements EntityType
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
Effector<?> |
getEffector(java.lang.String name,
java.lang.Class<?>... parameterTypes) |
Maybe<Effector<?>> |
getEffectorByName(java.lang.String name) |
java.util.Set<Effector<?>> |
getEffectors()
Effectors available on this entity.
|
Sensor<?> |
getSensor(java.lang.String name)
The Sensor with the given name, or null if not found.
|
java.util.Set<Sensor<?>> |
getSensors()
Sensors available on this entity.
|
int |
hashCode() |
boolean |
hasSensor(java.lang.String name) |
getConfigKey, getConfigKeys, getName, getSimpleName, toStringgetConfigKey, getConfigKeys, getName, getSimpleNamepublic java.util.Set<Sensor<?>> getSensors()
EntityTypegetSensors in interface EntityTypepublic java.util.Set<Effector<?>> getEffectors()
EntityTypegetEffectors in interface EntityTypepublic Maybe<Effector<?>> getEffectorByName(java.lang.String name)
getEffectorByName in interface EntityTypepublic Effector<?> getEffector(java.lang.String name, java.lang.Class<?>... parameterTypes)
getEffector in interface EntityTypepublic Sensor<?> getSensor(java.lang.String name)
EntityTypegetSensor in interface EntityTypepublic boolean hasSensor(java.lang.String name)
hasSensor in interface EntityTypepublic int hashCode()
hashCode in class BrooklynTypeSnapshotpublic boolean equals(java.lang.Object obj)
equals in class BrooklynTypeSnapshot