public interface TargetableTestComponent extends org.apache.brooklyn.api.entity.Entity, Startable
org.apache.brooklyn.api.entity.Entity.AdjunctSupport<T extends org.apache.brooklyn.api.objs.EntityAdjunct>, org.apache.brooklyn.api.entity.Entity.EnricherSupport, org.apache.brooklyn.api.entity.Entity.GroupSupport, org.apache.brooklyn.api.entity.Entity.PolicySupport, org.apache.brooklyn.api.entity.Entity.SensorSupportorg.apache.brooklyn.api.objs.BrooklynObject.RelationSupport<T extends org.apache.brooklyn.api.objs.BrooklynObject>, org.apache.brooklyn.api.objs.BrooklynObject.SubscriptionSupport, org.apache.brooklyn.api.objs.BrooklynObject.TagSupportorg.apache.brooklyn.api.objs.Configurable.ConfigurationSupportStartable.RestartEffectorBody, Startable.StartEffectorBody, Startable.StopEffectorBody| Modifier and Type | Field and Description |
|---|---|
static AttributeSensorAndConfigKey<org.apache.brooklyn.api.entity.Entity,org.apache.brooklyn.api.entity.Entity> |
TARGET_ENTITY
The target entity to test.
|
static org.apache.brooklyn.api.sensor.AttributeSensor<String> |
TARGET_ENTITY_ID |
static org.apache.brooklyn.api.sensor.AttributeSensor<String> |
TARGET_ENTITY_NAME |
static org.apache.brooklyn.api.sensor.AttributeSensor<String> |
TARGET_ENTITY_TYPE |
static org.apache.brooklyn.config.ConfigKey<String> |
TARGET_ID
Id of the target entity to test.
|
static org.apache.brooklyn.config.ConfigKey<org.apache.brooklyn.util.time.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 |
|---|---|
org.apache.brooklyn.api.entity.Entity |
resolveTarget()
Get the target of the test.
|
addChild, addChild, addEnricher, addEnricher, addFeed, addGroup, addPolicy, addPolicy, clearParent, enrichers, getApplication, getApplicationId, getAttribute, getChildren, getConfig, getCreationTime, getDisplayName, getEnrichers, getEntityType, getGroups, getIconUrl, getId, getLocations, getParent, getPolicies, groups, invoke, policies, relations, removeChild, removeEnricher, removeGroup, removePolicy, sensors, setDisplayName, setParentgetCatalogItemId, getCatalogItemIdSearchPath, subscriptions, tagsstatic final AttributeSensorAndConfigKey<org.apache.brooklyn.api.entity.Entity,org.apache.brooklyn.api.entity.Entity> TARGET_ENTITY
targetId. If both are set then this
will take precedence.static final org.apache.brooklyn.config.ConfigKey<String> TARGET_ID
#TARGET_ENTITY target}.static final org.apache.brooklyn.config.ConfigKey<org.apache.brooklyn.util.time.Duration> TARGET_RESOLUTION_TIMEOUT
static final org.apache.brooklyn.api.sensor.AttributeSensor<String> TARGET_ENTITY_ID
static final org.apache.brooklyn.api.sensor.AttributeSensor<String> TARGET_ENTITY_NAME
static final org.apache.brooklyn.api.sensor.AttributeSensor<String> TARGET_ENTITY_TYPE
Copyright © 2012–2017 The Apache Software Foundation. All rights reserved.