Interface RequiredPermission
-
public interface RequiredPermissionReturned when checking privileges. IfisAllowed()returnsfalse, it will contain the privilege needed and the original entity that requires this privilege.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SchedulerEntitygetEntity()StringgetPrivilege()booleanisAllowed()
-
-
-
Method Detail
-
isAllowed
boolean isAllowed()
- Returns:
- Returns a boolean indicating whether the required permission is available.
-
getPrivilege
String getPrivilege()
- Returns:
- Returns the missing privilege.
-
getEntity
SchedulerEntity getEntity()
- Returns:
- Returns the entity (cause that was created/updated etc).
-
-