Package org.jenkinsci.remoting.engine
Enum WorkDirManager.DirType
- All Implemented Interfaces:
Serializable
,Comparable<WorkDirManager.DirType>
- Enclosing class:
- WorkDirManager
@Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class)
public static enum WorkDirManager.DirType
extends Enum<WorkDirManager.DirType>
Defines components of the Working directory.
- Since:
- 3.8
-
Enum Constant Summary
Enum ConstantDescriptionDirectory, which stores internal data of the Remoting layer itself.Directory, which stores the JAR Cache.Directory, which stores logs.Top-level entry of the working directory. -
Method Summary
Modifier and TypeMethodDescriptiongetName()
toString()
static WorkDirManager.DirType
Returns the enum constant of this type with the specified name.static WorkDirManager.DirType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
WORK_DIR
Top-level entry of the working directory. -
INTERNAL_DIR
Directory, which stores internal data of the Remoting layer itself. This directory is located withinWORK_DIR
. -
JAR_CACHE_DIR
Directory, which stores the JAR Cache. -
LOGS_DIR
Directory, which stores logs.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
toString
- Overrides:
toString
in classEnum<WorkDirManager.DirType>
-
getDefaultLocation
-
getName
-