public class Rule extends AbstractModel
header, skipSign| 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 Executed feature. | 
| RuleAndConditions[] | getConditions()Get Judgment condition for executing the feature. | 
| SubRuleItem[] | getSubRules()Get Nested rule. | 
| void | setActions(Action[] Actions)Set Executed feature. | 
| void | setConditions(RuleAndConditions[] Conditions)Set Judgment condition for executing the feature. | 
| void | setSubRules(SubRuleItem[] SubRules)Set Nested rule. | 
| void | toMap(HashMap<String,String> map,
     String prefix)Internal implementation, normal users should not use it. | 
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonStringpublic Rule()
public Rule(Rule source)
public RuleAndConditions[] getConditions()
public void setConditions(RuleAndConditions[] Conditions)
Conditions - Judgment condition for executing the feature.
Note: The feature can be executed if any condition in the array is met.public Action[] getActions()
public void setActions(Action[] Actions)
Actions - Executed feature. Note: Actions and SubRules cannot be both empty.public SubRuleItem[] getSubRules()
public void setSubRules(SubRuleItem[] SubRules)
SubRules - Nested rule. Note: SubRules and Actions cannot be both empty.Copyright © 2025. All rights reserved.