Interface ServiceActivationRuleForDataspace
-
public interface ServiceActivationRuleForDataspaceThis interface can be implemented to specify whether a user service is disabled for a given dataspace. Deactivated user services are never displayed in the specified context, including in permission UI screens.- Since:
- 5.8.0
-
-
Field Summary
Fields Modifier and Type Field Description static ServiceActivationRuleForDataspaceALWAYS_UNAVAILABLEDeactivates the service, regardless of the context.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanisAvailableFor(ServiceActivationRuleForDataspaceContext aContext)Returns whether the service is available for the specified dataspace context.
-
-
-
Field Detail
-
ALWAYS_UNAVAILABLE
static final ServiceActivationRuleForDataspace ALWAYS_UNAVAILABLE
Deactivates the service, regardless of the context.
-
-
Method Detail
-
isAvailableFor
boolean isAvailableFor(ServiceActivationRuleForDataspaceContext aContext)
Returns whether the service is available for the specified dataspace context.If this method returns
false, the current user service is unavailable in the specified dataspace, including in the user interface to define permissions.
-
-