public abstract class ConfigConstraints<T extends BrooklynObject>
extends java.lang.Object
| Modifier and Type | Field and Description | 
|---|---|
| static org.slf4j.Logger | LOG | 
| Constructor and Description | 
|---|
| ConfigConstraints(T brooklynObject) | 
| Modifier and Type | Method and Description | 
|---|---|
| static void | assertValid(Entity entity)Checks all constraints of all config keys available to an entity. | 
| static void | assertValid(EntityAdjunct adjunct)Checks all constraints of all config keys available to an entity adjunct. | 
| static <T> void | assertValid(Entity entity,
           ConfigKey<T> key,
           T value) | 
| static <T> void | assertValid(Location location,
           ConfigKey<T> key,
           T value) | 
| java.lang.Iterable<ConfigKey<?>> | getViolations() | 
public ConfigConstraints(T brooklynObject)
public static void assertValid(Entity entity)
 If a constraint is a BrooklynObjectPredicate then
 BrooklynObjectPredicate.apply(Object, BrooklynObject) will be used.
public static void assertValid(EntityAdjunct adjunct)
 If a constraint is a BrooklynObjectPredicate then
 BrooklynObjectPredicate.apply(Object, BrooklynObject) will be used.
public java.lang.Iterable<ConfigKey<?>> getViolations()