@Beta 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.LocationsFilterEntity.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 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_LATCHRESTART, SERVICE_UP, START, STOPaddChild, 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, subscriptions, tagsconfig, getConfig, setConfigstatic 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