Package org.robolectric.shadows
Class PolicyStateBuilder
java.lang.Object
org.robolectric.shadows.PolicyStateBuilder
Builder for
PolicyState
-
Method Summary
Modifier and TypeMethodDescriptionPolicyState<?>
build()
static PolicyStateBuilder
setCurrentResolvedPolicy
(PolicyValue<?> currentResolvedPolicy) Set the current resolved policy value.setPolicy
(EnforcingAdmin enforcingAdmin, PolicyValue<?> value) Set the policy state for theEnforcingAdmin
.
-
Method Details
-
newBuilder
-
setPolicy
Set the policy state for theEnforcingAdmin
. -
setCurrentResolvedPolicy
Set the current resolved policy value. -
build
-