public class BrooklynDslInterpreter
extends io.brooklyn.camp.spi.resolve.PlanInterpreter.PlanInterpreterAdapter
PlanInterpreter which understands the $brooklyn DSL| Constructor and Description |
|---|
BrooklynDslInterpreter() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
applyMapEntry(io.brooklyn.camp.spi.resolve.interpret.PlanInterpretationNode node,
Map<Object,Object> mapIn,
Map<Object,Object> mapOut,
io.brooklyn.camp.spi.resolve.interpret.PlanInterpretationNode key,
io.brooklyn.camp.spi.resolve.interpret.PlanInterpretationNode value) |
void |
applyYamlPrimitive(io.brooklyn.camp.spi.resolve.interpret.PlanInterpretationNode node) |
static io.brooklyn.camp.spi.resolve.interpret.PlanInterpretationNode |
currentNode()
returns the current node, stored in a thread-local, to populate the dsl field of
BrooklynDslDeferredSupplier instances |
static void |
currentNode(io.brooklyn.camp.spi.resolve.interpret.PlanInterpretationNode node)
sets the current node
|
static void |
currentNodeClear() |
Object |
evaluate(Object f,
boolean deepEvaluation) |
Object |
evaluateOn(Object o,
FunctionWithArgs f,
boolean deepEvaluation) |
boolean |
isInterestedIn(io.brooklyn.camp.spi.resolve.interpret.PlanInterpretationNode node) |
public boolean isInterestedIn(io.brooklyn.camp.spi.resolve.interpret.PlanInterpretationNode node)
public static io.brooklyn.camp.spi.resolve.interpret.PlanInterpretationNode currentNode()
BrooklynDslDeferredSupplier instancespublic static void currentNode(io.brooklyn.camp.spi.resolve.interpret.PlanInterpretationNode node)
public static void currentNodeClear()
public void applyYamlPrimitive(io.brooklyn.camp.spi.resolve.interpret.PlanInterpretationNode node)
public boolean applyMapEntry(io.brooklyn.camp.spi.resolve.interpret.PlanInterpretationNode node,
Map<Object,Object> mapIn,
Map<Object,Object> mapOut,
io.brooklyn.camp.spi.resolve.interpret.PlanInterpretationNode key,
io.brooklyn.camp.spi.resolve.interpret.PlanInterpretationNode value)
applyMapEntry in interface io.brooklyn.camp.spi.resolve.PlanInterpreterapplyMapEntry in class io.brooklyn.camp.spi.resolve.PlanInterpreter.PlanInterpreterAdapterpublic Object evaluateOn(Object o, FunctionWithArgs f, boolean deepEvaluation)
Copyright © 2014. All Rights Reserved.