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