public interface Policy extends EntityAdjunct, Rebindable, Configurable
BrooklynObject.RelationSupport<T extends BrooklynObject>, BrooklynObject.SubscriptionSupport, BrooklynObject.TagSupport
Configurable.ConfigurationSupport
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getId()
A unique id for this policy.
|
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
|
BrooklynObject.RelationSupport<Policy> |
relations()
Relations specify a typed, directed connection between two entities.
|
void |
resume()
Resume the policy
|
void |
suspend()
Suspend the policy
|
getHighlights, getUniqueTag, isDestroyed, isRunning
getCatalogItemId, getCatalogItemIdSearchPath, getDisplayName, subscriptions, tags
config, getConfig
java.lang.String getId()
getId
in interface EntityAdjunct
getId
in interface Identifiable
PolicyType getPolicyType()
void resume()
void suspend()
boolean isSuspended()
RebindSupport<PolicyMemento> getRebindSupport()
getRebindSupport
in interface Rebindable
BrooklynObject.RelationSupport<Policy> relations()
BrooklynObject
relations
in interface BrooklynObject