public class Rule extends AbstractModel
Constructor and Description |
---|
Rule() |
Rule(Rule source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
|
Modifier and Type | Method and Description |
---|---|
Action[] |
getActions()
Get Feature to be executed.
|
RuleAndConditions[] |
getConditions()
Get Feature execution conditions.
|
SubRuleItem[] |
getSubRules()
Get The nested rule.
|
void |
setActions(Action[] Actions)
Set Feature to be executed.
|
void |
setConditions(RuleAndConditions[] Conditions)
Set Feature execution conditions.
|
void |
setSubRules(SubRuleItem[] SubRules)
Set The nested rule.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public Rule()
public Rule(Rule source)
public Action[] getActions()
public void setActions(Action[] Actions)
Actions
- Feature to be executed.public RuleAndConditions[] getConditions()
public void setConditions(RuleAndConditions[] Conditions)
Conditions
- Feature execution conditions.
Note: If any condition in the array is met, the feature will run.public SubRuleItem[] getSubRules()
public void setSubRules(SubRuleItem[] SubRules)
SubRules
- The nested rule.Copyright © 2023. All rights reserved.