Package org.projectnessie.services.authz
Enum Check.CheckType
- java.lang.Object
-
- java.lang.Enum<Check.CheckType>
-
- org.projectnessie.services.authz.Check.CheckType
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<Check.CheckType>
- Enclosing interface:
- Check
public static enum Check.CheckType extends java.lang.Enum<Check.CheckType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ASSIGN_REFERENCE_TO_HASHCOMMIT_CHANGE_AGAINST_REFERENCECREATE_REFERENCEDELETE_ENTITYDELETE_REFERENCELIST_COMMIT_LOGREAD_CONTENT_KEYREAD_ENTITY_VALUEREAD_ENTRIESUPDATE_ENTITYVIEW_REFERENCEVIEW_REFLOG
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisContent()booleanisRef()static Check.CheckTypevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static Check.CheckType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
VIEW_REFERENCE
public static final Check.CheckType VIEW_REFERENCE
-
CREATE_REFERENCE
public static final Check.CheckType CREATE_REFERENCE
-
ASSIGN_REFERENCE_TO_HASH
public static final Check.CheckType ASSIGN_REFERENCE_TO_HASH
-
DELETE_REFERENCE
public static final Check.CheckType DELETE_REFERENCE
-
READ_ENTRIES
public static final Check.CheckType READ_ENTRIES
-
READ_CONTENT_KEY
public static final Check.CheckType READ_CONTENT_KEY
-
LIST_COMMIT_LOG
public static final Check.CheckType LIST_COMMIT_LOG
-
COMMIT_CHANGE_AGAINST_REFERENCE
public static final Check.CheckType COMMIT_CHANGE_AGAINST_REFERENCE
-
READ_ENTITY_VALUE
public static final Check.CheckType READ_ENTITY_VALUE
-
UPDATE_ENTITY
public static final Check.CheckType UPDATE_ENTITY
-
DELETE_ENTITY
public static final Check.CheckType DELETE_ENTITY
-
VIEW_REFLOG
public static final Check.CheckType VIEW_REFLOG
-
-
Method Detail
-
values
public static Check.CheckType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (Check.CheckType c : Check.CheckType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Check.CheckType valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
isRef
public boolean isRef()
-
isContent
public boolean isContent()
-
-