Brooklyn

io.brooklyn.camp.brooklyn.spi.dsl
[Java] Class BrooklynDslInterpreter

java.lang.Object
  io.brooklyn.camp.spi.resolve.PlanInterpreter.PlanInterpreterAdapter
      io.brooklyn.camp.brooklyn.spi.dsl.BrooklynDslInterpreter

public class BrooklynDslInterpreter
extends PlanInterpreterAdapter

PlanInterpreter which understands the $brooklyn DSL


Method Summary
boolean applyMapEntry(PlanInterpretationNode node, java.util.Map mapIn, java.util.Map mapOut, PlanInterpretationNode key, PlanInterpretationNode value)

void applyYamlPrimitive(PlanInterpretationNode node)

static PlanInterpretationNode currentNode()

returns the current node, stored in a thread-local, to populate the dsl field of BrooklynDslDeferredSupplier instances

static void currentNode(PlanInterpretationNode node)

sets the current node

static void currentNodeClear()

java.lang.Object evaluate(java.lang.Object f, boolean deepEvaluation)

java.lang.Object evaluateOn(java.lang.Object o, FunctionWithArgs f, boolean deepEvaluation)

boolean isInterestedIn(PlanInterpretationNode node)

 

Method Detail

applyMapEntry

@java.lang.Overridepublic boolean applyMapEntry(PlanInterpretationNode node, Map mapIn, Map mapOut,
public boolean applyMapEntry(PlanInterpretationNode node, java.util.Map mapIn, java.util.Map mapOut, PlanInterpretationNode key, PlanInterpretationNode value)


applyYamlPrimitive

@java.lang.Override
public void applyYamlPrimitive(PlanInterpretationNode node)


currentNode

public static PlanInterpretationNode currentNode()
returns the current node, stored in a thread-local, to populate the dsl field of BrooklynDslDeferredSupplier instances


currentNode

public static void currentNode(PlanInterpretationNode node)
sets the current node


currentNodeClear

public static void currentNodeClear()


evaluate

public java.lang.Object evaluate(java.lang.Object f, boolean deepEvaluation)


evaluateOn

public java.lang.Object evaluateOn(java.lang.Object o, FunctionWithArgs f, boolean deepEvaluation)


isInterestedIn

@java.lang.Override
public boolean isInterestedIn(PlanInterpretationNode node)


 

Brooklyn Multi-Cloud Application Management Platform
brooklyncentral.github.com. Apache License. © 2012.