Package org.incendo.cloud.permission
Class OrPermission
java.lang.Object
org.incendo.cloud.permission.OrPermission
- All Implemented Interfaces:
Permission
@API(status=INTERNAL,
consumers="org.incendo.cloud.*")
public final class OrPermission
extends Object
implements Permission
Accepts as long as at least one of the permissions is accepted
-
Field Summary
Fields inherited from interface org.incendo.cloud.permission.Permission
EMPTY -
Method Summary
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.incendo.cloud.permission.Permission
and, and, or, or
-
Method Details
-
permissions
Description copied from interface:PermissionReturns the inner permission nodes of this node.- Specified by:
permissionsin interfacePermission- Returns:
- the inner permission nodes
-
isEmpty
public boolean isEmpty()Description copied from interface:PermissionReturns true if a check for this permission should and will always return true.- Specified by:
isEmptyin interfacePermission- Returns:
- true if this permission is empty, otherwise false
-
permissionString
Description copied from interface:PermissionReturns the string representation of the permission.- Specified by:
permissionStringin interfacePermission- Returns:
- string representation
-
equals
-
hashCode
public int hashCode() -
toString
-