|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Policy
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 | |
|---|---|
String |
getId()
A unique id for this policy. |
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 brooklyn.policy.EntityAdjunct |
|---|
isDestroyed, isRunning |
| Methods inherited from interface brooklyn.entity.rebind.Rebindable |
|---|
getRebindSupport |
| Method Detail |
|---|
String getId()
getId in interface EntityAdjunctString getName()
getName in interface EntityAdjunctvoid resume()
void suspend()
boolean isSuspended()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||