Package org.wildfly.prospero.api
Enum FileConflict.Change
- java.lang.Object
-
- java.lang.Enum<FileConflict.Change>
-
- org.wildfly.prospero.api.FileConflict.Change
-
- All Implemented Interfaces:
Serializable,Comparable<FileConflict.Change>
- Enclosing class:
- FileConflict
public static enum FileConflict.Change extends Enum<FileConflict.Change>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static FileConflict.ChangevalueOf(String name)Returns the enum constant of this type with the specified name.static FileConflict.Change[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ADDED
public static final FileConflict.Change ADDED
-
MODIFIED
public static final FileConflict.Change MODIFIED
-
REMOVED
public static final FileConflict.Change REMOVED
-
NONE
public static final FileConflict.Change NONE
-
-
Method Detail
-
values
public static FileConflict.Change[] 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 (FileConflict.Change c : FileConflict.Change.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static FileConflict.Change 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
-
-