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 执行的功能。注意:Actions 和 SubRules 不可都为空 | 
| RuleAndConditions[] | getConditions()Get 执行功能判断条件。
注意:满足该数组内任意一项条件,功能即可执行。 | 
| SubRuleItem[] | getSubRules()Get 嵌套规则。注意:SubRules 和 Actions 不可都为空 | 
| void | setActions(Action[] Actions)Set 执行的功能。注意:Actions 和 SubRules 不可都为空 | 
| void | setConditions(RuleAndConditions[] Conditions)Set 执行功能判断条件。
注意:满足该数组内任意一项条件,功能即可执行。 | 
| void | setSubRules(SubRuleItem[] SubRules)Set 嵌套规则。注意:SubRules 和 Actions 不可都为空 | 
| void | toMap(HashMap<String,String> map,
     String prefix)Internal implementation, normal users should not use it. | 
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonStringpublic Rule()
public Rule(Rule source)
public RuleAndConditions[] getConditions()
public void setConditions(RuleAndConditions[] Conditions)
Conditions - 执行功能判断条件。
注意:满足该数组内任意一项条件,功能即可执行。public Action[] getActions()
public void setActions(Action[] Actions)
Actions - 执行的功能。注意:Actions 和 SubRules 不可都为空public SubRuleItem[] getSubRules()
public void setSubRules(SubRuleItem[] SubRules)
SubRules - 嵌套规则。注意:SubRules 和 Actions 不可都为空Copyright © 2025. All rights reserved.