org.camunda.bpm.engine.impl.juel
Class AstChoice

java.lang.Object
  extended by org.camunda.bpm.engine.impl.juel.AstNode
      extended by org.camunda.bpm.engine.impl.juel.AstRightValue
          extended by org.camunda.bpm.engine.impl.juel.AstChoice
All Implemented Interfaces:
ExpressionNode, Node

public class AstChoice
extends AstRightValue


Constructor Summary
AstChoice(AstNode question, AstNode yes, AstNode no)
           
 
Method Summary
 void appendStructure(StringBuilder b, Bindings bindings)
           
 Object eval(Bindings bindings, ELContext context)
           
 int getCardinality()
          Get the node's number of children.
 AstNode getChild(int i)
          Get i'th child
 String toString()
           
 
Methods inherited from class org.camunda.bpm.engine.impl.juel.AstRightValue
getMethodInfo, getType, getValueReference, invoke, isLeftValue, isLiteralText, isMethodInvocation, isReadOnly, setValue
 
Methods inherited from class org.camunda.bpm.engine.impl.juel.AstNode
getStructuralId, getValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AstChoice

public AstChoice(AstNode question,
                 AstNode yes,
                 AstNode no)
Method Detail

eval

public Object eval(Bindings bindings,
                   ELContext context)
            throws ELException
Specified by:
eval in class AstNode
Throws:
ELException

toString

public String toString()
Overrides:
toString in class Object

appendStructure

public void appendStructure(StringBuilder b,
                            Bindings bindings)
Specified by:
appendStructure in class AstNode

getCardinality

public int getCardinality()
Description copied from interface: Node
Get the node's number of children.


getChild

public AstNode getChild(int i)
Description copied from interface: Node
Get i'th child



Copyright © 2016 camunda services GmbH. All rights reserved.