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 (optional, use either this or targetId).
|
static AttributeSensorAndConfigKey<String,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 |
|---|---|
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, getConfigRaw, getConfigRaw, getCreationTime, getDisplayName, getEnrichers, getEntityType, getGroups, getIconUrl, getId, getLocations, getParent, getPolicies, groups, invoke, policies, relations, removeChild, removeEnricher, removeGroup, removePolicy, sensors, setDisplayName, setParentgetCatalogItemId, subscriptions, tagsstatic final AttributeSensorAndConfigKey<org.apache.brooklyn.api.entity.Entity,org.apache.brooklyn.api.entity.Entity> TARGET_ENTITY
static final AttributeSensorAndConfigKey<String,String> TARGET_ID
org.apache.brooklyn.api.entity.Entity resolveTarget()
IllegalArgumentException - if the target cannot be found.Copyright © 2012–2016 The Apache Software Foundation. All rights reserved.