Enum SharedDataStoreUtils.SharedStoreRecordType
java.lang.Object
java.lang.Enum<SharedDataStoreUtils.SharedStoreRecordType>
org.apache.jackrabbit.oak.plugins.blob.datastore.SharedDataStoreUtils.SharedStoreRecordType
- All Implemented Interfaces:
Serializable,Comparable<SharedDataStoreUtils.SharedStoreRecordType>
- Enclosing class:
- SharedDataStoreUtils
public static enum SharedDataStoreUtils.SharedStoreRecordType
extends Enum<SharedDataStoreUtils.SharedStoreRecordType>
Encapsulates the different type of records at the data store root.
-
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptiongetIdFromName(String name) getNameFromId(String id) getNameFromIdPrefix(String id, String prefix) Creates name from id and prefix.getType()Returns the enum constant of this type with the specified name.values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
REFERENCES
-
REPOSITORY
-
MARKED_START_MARKER
-
BLOBREFERENCES
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getType
-
getIdFromName
-
getNameFromId
-
getNameFromIdPrefix
Creates name from id and prefix. The format returned is of the form references-id_prefix.- Parameters:
id-prefix-- Returns:
-