Class AuthRule
java.lang.Object
com.alibaba.cloud.commons.governance.auth.rule.AuthRule
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionAuthRule()AuthRule(AuthCondition condition) AuthRule(AuthCondition condition, boolean isNot) AuthRule(AuthRule.RuleOperation op, boolean isNot) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddChildren(AuthRule rule) getOp()booleanisEmpty()booleanisLeaf()booleanisNot()voidsetChildren(List<AuthRule> children) voidsetCondition(AuthCondition condition) voidsetNot(boolean not) void
-
Constructor Details
-
AuthRule
public AuthRule() -
AuthRule
-
AuthRule
-
AuthRule
-
AuthRule
-
-
Method Details
-
addChildren
-
isEmpty
public boolean isEmpty() -
isLeaf
public boolean isLeaf() -
getOp
-
setOp
-
getChildren
-
setChildren
-
getCondition
-
setCondition
-
isNot
public boolean isNot() -
setNot
public void setNot(boolean not)
-