Serializable
, Comparable<PathSensitivity>
public enum PathSensitivity extends Enum<PathSensitivity>
PathSensitive
Enum Constant | Description |
---|---|
ABSOLUTE |
Consider the full path of files and directories.
|
NAME_ONLY |
Consider only the name of files and directories.
|
NONE |
Ignore file paths and directories altogether.
|
RELATIVE |
Use the location of the file related to a hierarchy.
|
Modifier and Type | Method | Description |
---|---|---|
static PathSensitivity |
valueOf(String name) |
Returns the enum constant of this type with the specified name.
|
static PathSensitivity[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PathSensitivity ABSOLUTE
This will prevent the task's outputs from being shared across different workspaces via the build cache.
public static final PathSensitivity RELATIVE
For files in the root of the file collection, the file name is used as the normalized path. For directories in the root of the file collection, an empty string is used as normalized path. For files in directories in the root of the file collection, the normalized path is the relative path of the file to the root directory containing it.
public static final PathSensitivity NAME_ONLY
public static final PathSensitivity NONE
public static PathSensitivity[] values()
for (PathSensitivity c : PathSensitivity.values()) System.out.println(c);
public static PathSensitivity 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 null