|
Brooklyn | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | METHOD | DETAIL: FIELD | METHOD |
brooklyn.policy.EntityAdjunctbrooklyn.policy.Policy
public interface Policy extends EntityAdjunct
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.lang.String
|
getId()
A unique id for this policy. |
java.lang.String
|
getName()
Get the name assigned to this policy. |
boolean
|
isSuspended()
Whether the policy is suspended |
void
|
resume()
Resume the policy |
void
|
suspend()
Suspend the policy |
Methods inherited from interface EntityAdjunct | |
---|---|
getId, getName, isDestroyed, isRunning |
Method Detail |
---|
public java.lang.String getId()
public java.lang.String getName()
public boolean isSuspended()
public void resume()
public void suspend()
Brooklyn Multi-Cloud Application Management Platform
brooklyncentral.github.com. Apache License. © 2012.