Package org.jenkinsci.remoting.engine
Enum Class WorkDirManager.DirType
- All Implemented Interfaces:
Serializable
,Comparable<WorkDirManager.DirType>
,Constable
- 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
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum 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 class with the specified name.static WorkDirManager.DirType[]
values()
Returns an array containing the constants of this enum class, 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 class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-
toString
- Overrides:
toString
in classEnum<WorkDirManager.DirType>
-
getDefaultLocation
-
getName
-