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, toString
getConfigKey, getConfigKeys, getName, getSimpleName
public java.util.Set<Sensor<?>> getSensors()
EntityType
getSensors
in interface EntityType
public java.util.Set<Effector<?>> getEffectors()
EntityType
getEffectors
in interface EntityType
public Maybe<Effector<?>> getEffectorByName(java.lang.String name)
getEffectorByName
in interface EntityType
public Effector<?> getEffector(java.lang.String name, java.lang.Class<?>... parameterTypes)
getEffector
in interface EntityType
public Sensor<?> getSensor(java.lang.String name)
EntityType
getSensor
in interface EntityType
public boolean hasSensor(java.lang.String name)
hasSensor
in interface EntityType
public int hashCode()
hashCode
in class BrooklynTypeSnapshot
public boolean equals(java.lang.Object obj)
equals
in class BrooklynTypeSnapshot