| 
 | Brooklyn | |||||||
| FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | METHOD | DETAIL: FIELD | METHOD | |||||||
brooklyn.policy.Policybrooklyn.entity.rebind.Rebindable
brooklyn.policy.EntityAdjunct
brooklyn.entity.trait.Identifiable
public interface Policy extends EntityAdjunct, Rebindable
Policies implement actions and thus must be suspendable; policies should continue to evaluate their sensors and indicate their desired planned action even if they aren't invoking them
| Method Summary | |
|---|---|
| java.util.Map | getAllConfig() | 
| java.lang.Object | getConfig(ConfigKey key) | 
| java.lang.String | getId()A unique id for this policy. | 
| java.lang.String | getName()Get the name assigned to this policy. | 
| PolicyType | getPolicyType()Information about the type of this entity; analogous to Java's object.getClass. | 
| RebindSupport | getRebindSupport() | 
| boolean | isSuspended()Whether the policy is suspended | 
| void | resume()Resume the policy | 
| java.lang.Object | setConfig(ConfigKey key, java.lang.Object val) | 
| void | suspend()Suspend the policy | 
| Methods inherited from interface Rebindable | |
|---|---|
| getRebindSupport | 
| Methods inherited from interface EntityAdjunct | |
|---|---|
| getId, getName, isDestroyed, isRunning | 
| Methods inherited from interface Identifiable | |
|---|---|
| getId | 
| Method Detail | 
|---|
public java.util.Map getAllConfig()
public java.lang.Object getConfig(ConfigKey key)
@Override public java.lang.String getId()
@Override public java.lang.String getName()
@Beta public PolicyType getPolicyType()
@Override public RebindSupport getRebindSupport()
public boolean isSuspended()
public void resume()
public java.lang.Object setConfig(ConfigKey key, java.lang.Object val)
public void suspend()
Brooklyn Multi-Cloud Application Management Platform 
 brooklyncentral.github.com. Apache License. © 2012.