|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.opengts.war.report.ReportConditional
public class ReportConditional
| Constructor Summary | |
|---|---|
ReportConditional()
Constructor |
|
ReportConditional(java.lang.String trueProp,
java.lang.String falseProp)
Constructor |
|
| Method Summary | |
|---|---|
void |
addFalsePropertyKey(java.lang.String prop)
Adds the specified property key to the list of keys to check for "false" Undefined property keys will be skipped. |
void |
addFalsePropertyKeys(java.lang.String[] props)
Adds the specified list of property keys to the list of keys to check for "false" Undefined property keys will be skipped. |
void |
addTruePropertyKey(java.lang.String prop)
Adds the specified property key to the list of keys to check for "true" Undefined property keys will be skipped. |
void |
addTruePropertyKeys(java.lang.String[] props)
Adds the specified list of property keys to the list of keys to check for "true" Undefined property keys will be skipped. |
static ReportConditional |
createReportConditional(java.lang.String trueProp,
java.lang.String falseProp)
Creates a new ReportConditional if either "trueProp" or "falseProp" is specified (non-blank) Returns null if both "trueProp" and "falseProp" are null/blank. |
boolean |
isTrue(BasicPrivateLabel bpl)
Returns the conditional value for the PrivateLabel context |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ReportConditional()
public ReportConditional(java.lang.String trueProp,
java.lang.String falseProp)
| Method Detail |
|---|
public static ReportConditional createReportConditional(java.lang.String trueProp,
java.lang.String falseProp)
trueProp - The properties to check for "true"falseProp - The properties to check for "false"
ReportCondition instance, or null if both "trueProp" and
"falseProp" are null/blank.public void addTruePropertyKey(java.lang.String prop)
prop - The property key to addpublic void addTruePropertyKeys(java.lang.String[] props)
props - The property key list to addpublic void addFalsePropertyKey(java.lang.String prop)
prop - The property key to addpublic void addFalsePropertyKeys(java.lang.String[] props)
props - The property key list to addpublic boolean isTrue(BasicPrivateLabel bpl)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||