public interface TargetableTestComponent extends Entity, Startable
Entity.AdjunctSupport<T extends EntityAdjunct>, Entity.EnricherSupport, Entity.GroupSupport, Entity.PolicySupport, Entity.SensorSupport
BrooklynObject.RelationSupport<T extends BrooklynObject>, BrooklynObject.SubscriptionSupport, BrooklynObject.TagSupport
Configurable.ConfigurationSupport
Startable.RestartEffectorBody, Startable.StartEffectorBody, Startable.StopEffectorBody
Modifier and Type | Field and Description |
---|---|
static AttributeSensorAndConfigKey<Entity,Entity> |
TARGET_ENTITY
The target entity to test.
|
static AttributeSensor<java.lang.String> |
TARGET_ENTITY_ID |
static AttributeSensor<java.lang.String> |
TARGET_ENTITY_NAME |
static AttributeSensor<java.lang.String> |
TARGET_ENTITY_TYPE |
static ConfigKey<java.lang.String> |
TARGET_ID
Id of the target entity to test.
|
static ConfigKey<Duration> |
TARGET_RESOLUTION_TIMEOUT
The duration to wait for an entity with the given targetId to exist, before throwing an exception.
|
RESTART, SERVICE_UP, START, STOP
Modifier and Type | Method and Description |
---|---|
Entity |
resolveTarget()
Get the target of the test.
|
addChild, addChild, addFeed, clearParent, enrichers, getApplication, getApplicationId, getAttribute, getChildren, getConfig, getCreationTime, getDisplayName, getEntityType, getIconUrl, getId, getLocations, getParent, groups, invoke, policies, relations, removeChild, sensors, setDisplayName, setParent
getCatalogItemId, getCatalogItemIdSearchPath, subscriptions, tags
config, getConfig
static final AttributeSensorAndConfigKey<Entity,Entity> TARGET_ENTITY
targetId
. If both are set then this
will take precedence.static final ConfigKey<java.lang.String> TARGET_ID
#TARGET_ENTITY target}.
static final ConfigKey<Duration> TARGET_RESOLUTION_TIMEOUT
static final AttributeSensor<java.lang.String> TARGET_ENTITY_ID
static final AttributeSensor<java.lang.String> TARGET_ENTITY_NAME
static final AttributeSensor<java.lang.String> TARGET_ENTITY_TYPE
Entity resolveTarget()
{@link
- IllegalArgumentException} if the target cannot be found