public class RankingGroupIfElse extends java.lang.Object implements java.io.Serializable, RankingGroup
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
CLASS_VERSION
Class version string
|
| Constructor and Description |
|---|
RankingGroupIfElse(RankingExpressionGroup rankingExpressionForTest,
RankingGroup rankingGroupOnIf,
RankingGroup rankingGroupOnElse)
Constructs a new if-else structure
|
| Modifier and Type | Method and Description |
|---|---|
RankingExpressionGroup |
getRankingExpressionForTest()
Returns the expression for the If test
|
RankingGroup |
getRankingGroupOnElse()
Returns expression group used in Else test
|
RankingGroup |
getRankingGroupOnIf()
Returns expression group used in Else test
|
void |
setRankingExpressionForTest(RankingExpressionGroup rankingExpressionForTest)
Sets expression group used in If test
|
void |
setRankingGroupOnElse(RankingGroup rankingGroupOnElse)
Sets expression group used in Else test
|
void |
setRankingGroupOnIf(RankingGroup rankingGroupOnIf)
Sets expression group used in If test
|
java.lang.String |
toXML()
Converts the ranking group to xml for submission to the engine.
|
public RankingGroupIfElse(RankingExpressionGroup rankingExpressionForTest, RankingGroup rankingGroupOnIf, RankingGroup rankingGroupOnElse)
rankingExpressionForTest - test expression, should never be nullrankingGroupOnIf - group to execute If test passes, null if nothing should executerankingGroupOnElse - group to execute Else test fails, null if nothing should executepublic RankingExpressionGroup getRankingExpressionForTest()
public void setRankingExpressionForTest(RankingExpressionGroup rankingExpressionForTest)
rankingExpressionForTest - expression group used in If testpublic RankingGroup getRankingGroupOnElse()
public void setRankingGroupOnElse(RankingGroup rankingGroupOnElse)
rankingGroupOnElse - ranking group statements to be executed on Elsepublic RankingGroup getRankingGroupOnIf()
public void setRankingGroupOnIf(RankingGroup rankingGroupOnIf)
rankingGroupOnIf - ranking group statements to be executed on Ifpublic java.lang.String toXML()
RankingGrouptoXML in interface RankingGroup