org.kuali.student.common.messagebuilder.impl
Class FailureMessageBuilder

java.lang.Object
  extended by org.kuali.student.common.messagebuilder.impl.FailureMessageBuilder

public class FailureMessageBuilder
extends Object

This class creates failure messages for boolean binary tree nodes.


Constructor Summary
FailureMessageBuilder(BooleanOperators bo)
          Creates a failure message builder with boolean operators to use in building the success message.
 
Method Summary
 String buildFailureMessage(BooleanNode node)
          Builds and sets the failure message for a single boolean node (b-tree node).
 String buildFailureMessage(List<BooleanNode> nodeList)
          Builds and sets the failure message for each of the boolean nodes (binary tree) in the nodeList.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FailureMessageBuilder

public FailureMessageBuilder(BooleanOperators bo)
Creates a failure message builder with boolean operators to use in building the success message.

Parameters:
bo - Boolean operators to build success message
Method Detail

buildFailureMessage

public String buildFailureMessage(List<BooleanNode> nodeList)
                           throws MessageBuilderException
Builds and sets the failure message for each of the boolean nodes (binary tree) in the nodeList.

Parameters:
nodeList - List of boolean nodes
Returns:
Complete failure message
Throws:
MessageBuilderException

buildFailureMessage

public String buildFailureMessage(BooleanNode node)
Builds and sets the failure message for a single boolean node (b-tree node).

Parameters:
node - Boolean node


Copyright © 2004-2012 The Kuali Foundation. All Rights Reserved.