public enum NonEmptyWorkDirectoryAction extends Enum<NonEmptyWorkDirectoryAction>
Enum Constant and Description |
---|
FAIL
Fail the build if the work directory is not empty.
|
IGNORE
Ignore any existing files in the work directory.
|
WIPE
Wipe the content of the work directory clean if there are any files in it.
|
Modifier and Type | Method and Description |
---|---|
static NonEmptyWorkDirectoryAction |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NonEmptyWorkDirectoryAction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NonEmptyWorkDirectoryAction IGNORE
public static final NonEmptyWorkDirectoryAction WIPE
public static final NonEmptyWorkDirectoryAction FAIL
public static NonEmptyWorkDirectoryAction[] values()
for (NonEmptyWorkDirectoryAction c : NonEmptyWorkDirectoryAction.values()) System.out.println(c);
public static NonEmptyWorkDirectoryAction 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 nullCopyright © 2011–2022 Carrot Search s.c.. All rights reserved.