public interface ConditionalEntity extends BasicStartable
- type: org.apache.brooklyn.entity.stock.ConditionalEntity brooklyn.config: conditional.entity.create: $brooklyn:scopeRoot().config("enable.loadBalancer") conditional.entity.spec: $brooklyn:entitySpec: type: load-balancer brooklyn.config: proxy.port: 8080 loadbalancer.serverpool: $brooklyn:entity("servers") conditional.entity.propagate: true conditional.entity.sensors: - $brooklyn:sensor("proxy.http.port") - $brooklyn:sensor("main.uri")
BasicStartable.LocationsFilter
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 AttributeSensor<Entity> |
CONDITIONAL_ENTITY |
static ConfigKey<java.util.Collection<AttributeSensor<?>>> |
CONDITIONAL_ENTITY_SENSOR_LIST |
static ConfigKey<EntitySpec<?>> |
CONDITIONAL_ENTITY_SPEC |
static AttributeSensorAndConfigKey<java.lang.Boolean,java.lang.Boolean> |
CREATE_CONDITIONAL_ENTITY |
static ConfigKey<java.lang.Boolean> |
PROPAGATE_CONDITIONAL_ENTITY_SENSORS |
LOCATIONS_FILTER, START_LATCH
RESTART, SERVICE_UP, START, STOP
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 ConfigKey<EntitySpec<?>> CONDITIONAL_ENTITY_SPEC
static final AttributeSensorAndConfigKey<java.lang.Boolean,java.lang.Boolean> CREATE_CONDITIONAL_ENTITY
static final ConfigKey<java.lang.Boolean> PROPAGATE_CONDITIONAL_ENTITY_SENSORS
static final ConfigKey<java.util.Collection<AttributeSensor<?>>> CONDITIONAL_ENTITY_SENSOR_LIST
static final AttributeSensor<Entity> CONDITIONAL_ENTITY