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 Enum Constant Description BLOBREFERENCES
MARKED_START_MARKER
REFERENCES
REPOSITORY
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getIdFromName(String name)
String
getNameFromId(String id)
String
getNameFromIdPrefix(String id, String prefix)
Creates name from id and prefix.String
getType()
static SharedDataStoreUtils.SharedStoreRecordType
valueOf(String name)
Returns the enum constant of this type with the specified name.static SharedDataStoreUtils.SharedStoreRecordType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
REFERENCES
public static final SharedDataStoreUtils.SharedStoreRecordType REFERENCES
-
REPOSITORY
public static final SharedDataStoreUtils.SharedStoreRecordType REPOSITORY
-
MARKED_START_MARKER
public static final SharedDataStoreUtils.SharedStoreRecordType MARKED_START_MARKER
-
BLOBREFERENCES
public static final SharedDataStoreUtils.SharedStoreRecordType BLOBREFERENCES
-
-
Method Detail
-
values
public static SharedDataStoreUtils.SharedStoreRecordType[] 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 (SharedDataStoreUtils.SharedStoreRecordType c : SharedDataStoreUtils.SharedStoreRecordType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SharedDataStoreUtils.SharedStoreRecordType valueOf(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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
getType
public String getType()
-
-