public class ScheduledEffectorPolicy extends AbstractScheduledEffectorPolicy
AbstractEntityAdjunct.AdjunctTagSupport, AbstractEntityAdjunct.BasicSubscriptionSupport
BrooklynObject.RelationSupport<T extends BrooklynObject>, BrooklynObject.SubscriptionSupport, BrooklynObject.TagSupport
Configurable.ConfigurationSupport
BrooklynObjectInternal.ConfigurationSupportInternal, BrooklynObjectInternal.RelationSupportInternal<T extends BrooklynObject>, BrooklynObjectInternal.SubscriptionSupportInternal
Modifier and Type | Field and Description |
---|---|
static AttributeSensor<java.util.Date> |
INVOKE_AT |
static AttributeSensor<java.lang.Boolean> |
INVOKE_IMMEDIATELY |
EFFECTOR, EFFECTOR_ARGUMENTS, IMMEDIATELY, NOW, RUNNING, SCHEDULED, START_SENSOR, TIME, TIME_FORMAT, WAIT
HIGHLIGHT_NAME_LAST_ACTION, HIGHLIGHT_NAME_LAST_CONFIRMATION, HIGHLIGHT_NAME_LAST_VIOLATION, HIGHLIGHT_NAME_TRIGGERS
NOOP
Constructor and Description |
---|
ScheduledEffectorPolicy() |
Modifier and Type | Method and Description |
---|---|
void |
onEvent(SensorEvent<java.lang.Object> event)
The
SensorEvent handler method. |
void |
setEntity(EntityLocal entity) |
void |
start() |
destroy, getExecutor, init, rebind, resume, run, setup
getPolicyType, getRebindSupport, isRunning, isSuspended, relations, suspend, toString
config, configure, getAdjunctType, getConfig, getDisplayName, getEntity, getExecutionContext, getHighlights, getManagementContext, getUniqueTag, isDestroyed, setDisplayName, setHighlights, subscriptions, tags
addSearchPath, getCatalogItemId, getCatalogItemIdSearchPath, getId, setCatalogItemId, setCatalogItemIdAndSearchPath, setManagementContext, stackCatalogItemId
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
getHighlights, getUniqueTag, isDestroyed
getCatalogItemId, getCatalogItemIdSearchPath, getDisplayName, subscriptions, tags
config, getConfig
addSearchPath, setCatalogItemId, setCatalogItemIdAndSearchPath, stackCatalogItemId
public static final AttributeSensor<java.lang.Boolean> INVOKE_IMMEDIATELY
public static final AttributeSensor<java.util.Date> INVOKE_AT
public void setEntity(EntityLocal entity)
setEntity
in class AbstractScheduledEffectorPolicy
public void start()
start
in class AbstractScheduledEffectorPolicy
public void onEvent(SensorEvent<java.lang.Object> event)
SensorEventListener
SensorEvent
handler method.onEvent
in interface SensorEventListener<java.lang.Object>
onEvent
in class AbstractScheduledEffectorPolicy