Enum ImportInfo.Type
- java.lang.Object
-
- java.lang.Enum<ImportInfo.Type>
-
- org.apache.jackrabbit.vault.fs.api.ImportInfo.Type
-
- All Implemented Interfaces:
Serializable
,Comparable<ImportInfo.Type>
- Enclosing interface:
- ImportInfo
public static enum ImportInfo.Type extends Enum<ImportInfo.Type>
The modification type
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ImportInfo.Type
valueOf(String name)
Returns the enum constant of this type with the specified name.static ImportInfo.Type[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CRE
public static final ImportInfo.Type CRE
created
-
MOD
public static final ImportInfo.Type MOD
modified
-
DEL
public static final ImportInfo.Type DEL
deleted
-
REP
public static final ImportInfo.Type REP
replaced
-
NOP
public static final ImportInfo.Type NOP
nothing changed
-
ERR
public static final ImportInfo.Type ERR
error
-
MIS
public static final ImportInfo.Type MIS
missing
-
-
Method Detail
-
values
public static ImportInfo.Type[] 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 (ImportInfo.Type c : ImportInfo.Type.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ImportInfo.Type 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
-
-