public enum LocalFileAction extends Enum<LocalFileAction>
Enum Constant and Description |
---|
DELETE
DELETE : the local file will be deleted
|
MOVE
MOVE : the local file will be moved to the directory successfulUploadDir/failedUploadDir
entered in ingest-external.conf
|
NONE
NONE : the local file will not be moved or deleted
(default option if no corresponding value found)
|
Modifier and Type | Method and Description |
---|---|
static LocalFileAction |
getLocalFileAction(String value)
Returns Enum from value
|
String |
getValue() |
static LocalFileAction |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LocalFileAction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LocalFileAction DELETE
public static final LocalFileAction MOVE
public static final LocalFileAction NONE
public static LocalFileAction[] values()
for (LocalFileAction c : LocalFileAction.values()) System.out.println(c);
public static LocalFileAction valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String getValue()
public static LocalFileAction getLocalFileAction(String value)
value
- of the after upload action in String formatCopyright © 2018 Vitam. All rights reserved.