Interface IAuthRuleFinished
- All Known Subinterfaces:
IAuthRuleBuilderRuleBulkExportWithTarget,IAuthRuleBuilderRuleConditionalClassifier,IAuthRuleBuilderRuleOpClassifierFinished,IAuthRuleBuilderRuleOpClassifierFinishedWithTenantId
public interface IAuthRuleFinished
-
Method Summary
Modifier and TypeMethodDescriptionandThen()Start another rulebuild()Build the rule listwithTester(IAuthRuleTester theTester) Add an additional tester that will be queried if all other conditions of this rule already match.
-
Method Details
-
andThen
Start another rule -
build
Build the rule list -
withTester
Add an additional tester that will be queried if all other conditions of this rule already match. For example, given the following rulereturn new RuleBuilder() .allow("Rule 1").operation().named("everything").onInstancesOfType(Patient.class).withTester(myTester) .build();..the tester will be invoked on any $everything operations on Patient resources as a final check as to whether the rule applies or not. In this example, the tester is not invoked for other operations.- Parameters:
theTester- The tester to add, ornull
-