public interface Policy extends EntityAdjunct, Rebindable, Configurable
BrooklynObject.TagSupport| Modifier and Type | Method and Description | 
|---|---|
| java.util.Map<ConfigKey<?>,java.lang.Object> | getAllConfig() | 
| <T> T | getConfig(ConfigKey<T> key) | 
| java.lang.String | getId()A unique id for this policy. | 
| java.lang.String | getName()Deprecated. 
 since 0.7; use  BrooklynObject.getDisplayName() | 
| PolicyType | getPolicyType()Information about the type of this entity; analogous to Java's object.getClass. | 
| RebindSupport<PolicyMemento> | getRebindSupport()Users are strongly discouraged from calling or overriding this method. | 
| boolean | isSuspended()Whether the policy is suspended | 
| void | resume()Resume the policy | 
| <T> T | setConfig(ConfigKey<T> key,
         T val)returns the old value, or null if there was not one | 
| void | suspend()Suspend the policy | 
getUniqueTag, isDestroyed, isRunninggetCatalogItemId, getDisplayName, getTagSupport, tagsjava.lang.String getId()
getId in interface EntityAdjunctgetId in interface Identifiable@Deprecated java.lang.String getName()
BrooklynObject.getDisplayName()getName in interface EntityAdjunct@Beta PolicyType getPolicyType()
void resume()
void suspend()
boolean isSuspended()
<T> T getConfig(ConfigKey<T> key)
<T> T setConfig(ConfigKey<T> key, T val)
ConfigurablesetConfig in interface Configurablejava.util.Map<ConfigKey<?>,java.lang.Object> getAllConfig()
@Beta RebindSupport<PolicyMemento> getRebindSupport()
getRebindSupport in interface Rebindable