|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.kuali.student.common.messagebuilder.impl.SuccessFailureMessageBuilder
public class SuccessFailureMessageBuilder
This class builds the success and failure messages for boolean binary tree nodes.
| Field Summary | |
|---|---|
private BooleanOperators |
booleanOperators
Boolean operators to use in creating the success and failure messages |
private FailureMessageBuilder |
failureMessageBuilder
|
private SuccessMessageBuilder |
successMessageBuilder
|
| Constructor Summary | |
|---|---|
SuccessFailureMessageBuilder(BooleanOperators bo)
Creates a success and failure message builders. |
|
SuccessFailureMessageBuilder(String andOperator,
String orOperator)
Creates a success and failure message builders. |
|
| Method Summary | |
|---|---|
private void |
buildMessage(BooleanNode node)
Builds and sets the success and failure message for a boolean node (binary tree node). |
String |
buildMessage(List<BooleanNode> nodeList)
Builds and sets the success and failure message for each of the list of boolean nodes (binary tree nodes). |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private BooleanOperators booleanOperators
private SuccessMessageBuilder successMessageBuilder
private FailureMessageBuilder failureMessageBuilder
| Constructor Detail |
|---|
public SuccessFailureMessageBuilder(String andOperator,
String orOperator)
andOperator - AND logical operatororOperator - OR logical operatorpublic SuccessFailureMessageBuilder(BooleanOperators bo)
bo - Boolean operators| Method Detail |
|---|
public String buildMessage(List<BooleanNode> nodeList)
buildMessage in interface MessageTreeBuildernodeList - List of boolean nodes
private void buildMessage(BooleanNode node)
node - Boolean node
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||