public class BrooklynDslCommon extends Object
| Constructor and Description |
|---|
BrooklynDslCommon() |
| Modifier and Type | Method and Description |
|---|---|
static DslComponent |
component(String id) |
static DslComponent |
component(String scope,
String id) |
static EntitySpecConfiguration |
entitySpec(Map<String,Object> arguments) |
static Object |
formatString(String pattern,
Object... args)
returns a DslParsedObject
|
static Object |
literal(Object expression) |
static Object |
sensor(String clazzName,
String sensorName)
returns a Sensor from the given entity type
|
public static DslComponent component(String id)
public static DslComponent component(String scope, String id)
public static Object formatString(String pattern, Object... args)
public static Object sensor(String clazzName, String sensorName)
public static EntitySpecConfiguration entitySpec(Map<String,Object> arguments)
Copyright © 2014. All Rights Reserved.