public class StopAfterDurationPolicy extends AbstractPolicy
AbstractEntityAdjunct.AdjunctTagSupport, AbstractEntityAdjunct.BasicSubscriptionSupportBrooklynObject.RelationSupport<T extends BrooklynObject>, BrooklynObject.SubscriptionSupport, BrooklynObject.TagSupportConfigurable.ConfigurationSupportBrooklynObjectInternal.ConfigurationSupportInternal, BrooklynObjectInternal.RelationSupportInternal<T extends BrooklynObject>, BrooklynObjectInternal.SubscriptionSupportInternal| Modifier and Type | Field and Description |
|---|---|
static ConfigKey<java.lang.Boolean> |
FIRED_STOP |
static ConfigKey<java.lang.Boolean> |
HAS_STARTED_TIMER |
static ConfigKey<Duration> |
LIFETIME |
static ConfigKey<Duration> |
POLL_PERIOD |
static ConfigKey<Lifecycle> |
STATE |
| Constructor and Description |
|---|
StopAfterDurationPolicy() |
| Modifier and Type | Method and Description |
|---|---|
void |
setEntity(EntityLocal entity) |
destroy, getPolicyType, getRebindSupport, isRunning, isSuspended, relations, resume, suspend, toStringconfig, configure, getAdjunctType, getConfig, getConfigMap, getDisplayName, getUniqueTag, isDestroyed, setConfig, setDisplayName, subscribe, subscribeToChildren, subscribeToMembers, subscriptions, tags, unsubscribe, unsubscribegetCatalogItemId, getId, getManagementContext, init, rebind, setCatalogItemId, setManagementContextequals, getClass, hashCode, notify, notifyAll, wait, wait, waitgetUniqueTag, isDestroyedgetCatalogItemId, getDisplayName, subscriptions, tagsconfig, getConfigsetCatalogItemIdpublic static final ConfigKey<java.lang.Boolean> HAS_STARTED_TIMER
public static final ConfigKey<java.lang.Boolean> FIRED_STOP
public void setEntity(EntityLocal entity)
setEntity in class AbstractEntityAdjunct