public enum GrantAndDenial extends Enum<GrantAndDenial>
MicroOperations.| Modifier and Type | Field and Description |
|---|---|
private int |
code
The code number.
|
private boolean |
grant
The grant flag.
|
private MicroOperation |
microOperation
The micro operation.
|
private String |
name
The name.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getCode()
Gets the code number of this grant or denial.
|
MicroOperation |
getMicroOperation()
Gets the
MicroOperation related with this grant or denial. |
String |
getName()
Gets the name of this grant or denial.
|
boolean |
isGrant()
Returns true if and only if this is grant.
|
String |
toString() |
static GrantAndDenial |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GrantAndDenial[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GrantAndDenial GRANT_ADD
MicroOperation.ADDpublic static final GrantAndDenial DENY_ADD
MicroOperation.ADDpublic static final GrantAndDenial GRANT_DISCLOSE_ON_ERROR
MicroOperation.DISCLOSE_ON_ERRORpublic static final GrantAndDenial DENY_DISCLOSE_ON_ERROR
MicroOperation.DISCLOSE_ON_ERRORpublic static final GrantAndDenial GRANT_READ
MicroOperation.READpublic static final GrantAndDenial DENY_READ
MicroOperation.READpublic static final GrantAndDenial GRANT_REMOVE
MicroOperation.REMOVEpublic static final GrantAndDenial DENY_REMOVE
MicroOperation.REMOVEpublic static final GrantAndDenial GRANT_BROWSE
MicroOperation.BROWSEpublic static final GrantAndDenial DENY_BROWSE
MicroOperation.BROWSEpublic static final GrantAndDenial GRANT_EXPORT
MicroOperation.EXPORTpublic static final GrantAndDenial DENY_EXPORT
MicroOperation.EXPORTpublic static final GrantAndDenial GRANT_IMPORT
MicroOperation.IMPORTpublic static final GrantAndDenial DENY_IMPORT
MicroOperation.IMPORTpublic static final GrantAndDenial GRANT_MODIFY
MicroOperation.MODIFYpublic static final GrantAndDenial DENY_MODIFY
MicroOperation.MODIFYpublic static final GrantAndDenial GRANT_RENAME
MicroOperation.RENAMEpublic static final GrantAndDenial DENY_RENAME
MicroOperation.RENAMEpublic static final GrantAndDenial GRANT_RETURN_DN
MicroOperation.RETURN_DNpublic static final GrantAndDenial DENY_RETURN_DN
MicroOperation.RETURN_DNpublic static final GrantAndDenial GRANT_COMPARE
MicroOperation.COMPAREpublic static final GrantAndDenial DENY_COMPARE
MicroOperation.COMPAREpublic static final GrantAndDenial GRANT_FILTER_MATCH
MicroOperation.FILTER_MATCHpublic static final GrantAndDenial DENY_FILTER_MATCH
MicroOperation.FILTER_MATCHpublic static final GrantAndDenial GRANT_INVOKE
MicroOperation.INVOKEpublic static final GrantAndDenial DENY_INVOKE
MicroOperation.INVOKEprivate final MicroOperation microOperation
private final int code
private final String name
private final boolean grant
public static GrantAndDenial[] values()
for (GrantAndDenial c : GrantAndDenial.values()) System.out.println(c);
public static GrantAndDenial valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic MicroOperation getMicroOperation()
MicroOperation related with this grant or denial.public int getCode()
public String getName()
public boolean isGrant()
public String toString()
toString in class Enum<GrantAndDenial>Copyright © 2003–2019 The Apache Software Foundation. All rights reserved.