public enum UpdateStrategy extends java.lang.Enum<UpdateStrategy>
Enum Constant and Description |
---|
ADD_REMOVE
will be sorted by the numbers first, and the add file before the remove file.
|
ALL_ADDING_FIRST
all files which should be added will be executed before the files which removes.
|
ALL_REMOVING_FIRST
same as ALL_ADDING_FIRST but first all removing files.
|
NONE
no sortation
|
REMOVE_ADD
same as ADD_REMOVE but the remove file before the add file
|
Modifier and Type | Method and Description |
---|---|
static UpdateStrategy |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static UpdateStrategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UpdateStrategy NONE
public static final UpdateStrategy ALL_ADDING_FIRST
public static final UpdateStrategy ALL_REMOVING_FIRST
public static final UpdateStrategy ADD_REMOVE
public static final UpdateStrategy REMOVE_ADD
public static UpdateStrategy[] values()
for (UpdateStrategy c : UpdateStrategy.values()) System.out.println(c);
public static UpdateStrategy valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null