java.io.Serializable
, java.lang.Comparable<PathSensitivity>
public enum PathSensitivity extends java.lang.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(java.lang.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(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