@Deprecated public static enum IncrementalRelativeFileSets.FileDeletionPolicy extends java.lang.Enum<IncrementalRelativeFileSets.FileDeletionPolicy>
For incremental tasks, the previous gradle API does not provide information about whether a deletion is done on a normal file or a directory. Therefore, we use this class to either assume deletions to be done on normal files, or not allow deletions at all.
TODO: Remove this class and its usages in preference for the new InputChanges Gradle API.
| Enum Constant and Description |
|---|
ASSUME_NO_DELETED_DIRECTORIES
Deprecated.
Deletions are assumed to be done on normal files, not directories.
|
DISALLOW_FILE_DELETIONS
Deprecated.
Deletions of files or directories are not allowed.
|
| Modifier and Type | Method and Description |
|---|---|
static IncrementalRelativeFileSets.FileDeletionPolicy |
valueOf(java.lang.String name)
Deprecated.
Returns the enum constant of this type with the specified name.
|
static IncrementalRelativeFileSets.FileDeletionPolicy[] |
values()
Deprecated.
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IncrementalRelativeFileSets.FileDeletionPolicy ASSUME_NO_DELETED_DIRECTORIES
public static final IncrementalRelativeFileSets.FileDeletionPolicy DISALLOW_FILE_DELETIONS
public static IncrementalRelativeFileSets.FileDeletionPolicy[] values()
for (IncrementalRelativeFileSets.FileDeletionPolicy c : IncrementalRelativeFileSets.FileDeletionPolicy.values()) System.out.println(c);
public static IncrementalRelativeFileSets.FileDeletionPolicy 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