|
Brooklyn | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | METHOD | DETAIL: FIELD | METHOD |
public interface EntityType extends java.io.Serializable
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 | |
---|---|
ConfigKey
|
getConfigKey(java.lang.String name)
The ConfigKey with the given name, or null if not found. |
java.util.Set
|
getConfigKeys()
ConfigKeys available on this entity. |
java.util.Set
|
getEffectors()
Effectors available on this entity. |
java.lang.String
|
getName()
The type name of this entity (normally the fully qualified class name). |
Sensor
|
getSensor(java.lang.String name)
The Sensor with the given name, or null if not found. |
java.util.Set
|
getSensors()
Sensors available on this entity. |
boolean
|
hasSensor(java.lang.String name)
@return True if has the sensor with the given name; false otherwise. |
Methods inherited from class java.lang.Object | |
---|---|
java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Method Detail |
---|
public ConfigKey getConfigKey(java.lang.String name)
public java.util.Set getConfigKeys()
public java.util.Set getEffectors()
public java.lang.String getName()
public Sensor getSensor(java.lang.String name)
public java.util.Set getSensors()
public boolean hasSensor(java.lang.String name)
Brooklyn Multi-Cloud Application Management Platform
brooklyncentral.github.com. Apache License. © 2012.