public abstract class InstancePermission extends ClusterPermission
Modifier and Type | Field and Description |
---|---|
protected String |
actions |
protected static int |
CREATE |
protected static int |
DESTROY |
protected int |
mask |
protected static int |
NONE |
Constructor and Description |
---|
InstancePermission(String name,
String... actions) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getActions() |
int |
hashCode() |
boolean |
implies(Permission permission) |
protected abstract int |
initMask(String[] actions)
init mask
|
newPermissionCollection
checkGuard, getName, toString
protected static final int NONE
protected static final int CREATE
protected static final int DESTROY
protected final int mask
protected final String actions
protected abstract int initMask(String[] actions)
public boolean implies(Permission permission)
implies
in class Permission
public String getActions()
getActions
in class Permission
public int hashCode()
hashCode
in class ClusterPermission
public boolean equals(Object obj)
equals
in class ClusterPermission
Copyright © 2018 Hazelcast, Inc.. All Rights Reserved.