public interface TargetableTestComponent extends Entity, Startable
Entity.AdjunctSupport<T extends EntityAdjunct>, Entity.EnricherSupport, Entity.GroupSupport, Entity.PolicySupport, Entity.SensorSupportBrooklynObject.RelationSupport<T extends BrooklynObject>, BrooklynObject.SubscriptionSupport, BrooklynObject.TagSupportConfigurable.ConfigurationSupportStartable.RestartEffectorBody, Startable.StartEffectorBody, Startable.StopEffectorBody| Modifier and Type | Field and Description |
|---|---|
static AttributeSensorAndConfigKey<Entity,Entity> |
TARGET_ENTITY
The target entity to test (optional, use either this or targetId).
|
static AttributeSensorAndConfigKey<java.lang.String,java.lang.String> |
TARGET_ID
Id of the target entity to test (optional, use either this or target).
|
RESTART, SERVICE_UP, START, STOP| Modifier and Type | Method and Description |
|---|---|
Entity |
resolveTarget()
Get the target of the test.
|
addChild, addChild, addEnricher, addEnricher, addFeed, addGroup, addPolicy, addPolicy, clearParent, enrichers, getApplication, getApplicationId, getAttribute, getChildren, getConfig, getConfigRaw, getConfigRaw, getCreationTime, getDisplayName, getEnrichers, getEntityType, getGroups, getIconUrl, getId, getLocations, getParent, getPolicies, groups, invoke, policies, relations, removeChild, removeEnricher, removeGroup, removePolicy, sensors, setDisplayName, setParentgetCatalogItemId, subscriptions, tagsconfig, getConfig, setConfigstatic final AttributeSensorAndConfigKey<Entity,Entity> TARGET_ENTITY
static final AttributeSensorAndConfigKey<java.lang.String,java.lang.String> TARGET_ID
Entity resolveTarget()
java.lang.IllegalArgumentException - if the target cannot be found.