public interface EntitlementManager
Instances of this class typically have a 1-arg constructor taking a BrooklynProperties object (configuration injected by the Brooklyn framework) or a 0-arg constructor (if no external configuration is needed).
An EntitlementManagerAdapter class is available to do dispatch to common methods.
Instantiation is done e.g. by Entitlements.newManager.
| Modifier and Type | Method and Description |
|---|---|
<T> boolean |
isEntitled(EntitlementContext context,
EntitlementClass<T> entitlementClass,
T entitlementClassArgument) |
<T> boolean isEntitled(@Nullable
EntitlementContext context,
@Nonnull
EntitlementClass<T> entitlementClass,
@Nullable
T entitlementClassArgument)