Enum WorkDirManager.DirType

java.lang.Object
java.lang.Enum<WorkDirManager.DirType>
org.jenkinsci.remoting.engine.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 Details

    • WORK_DIR

      public static final WorkDirManager.DirType WORK_DIR
      Top-level entry of the working directory.
    • INTERNAL_DIR

      public static final WorkDirManager.DirType INTERNAL_DIR
      Directory, which stores internal data of the Remoting layer itself. This directory is located within WORK_DIR.
    • JAR_CACHE_DIR

      public static final WorkDirManager.DirType JAR_CACHE_DIR
      Directory, which stores the JAR Cache.
    • LOGS_DIR

      public static final WorkDirManager.DirType LOGS_DIR
      Directory, which stores logs.
  • Method Details

    • values

      public static WorkDirManager.DirType[] 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

      public static WorkDirManager.DirType valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • toString

      public String toString()
      Overrides:
      toString in class Enum<WorkDirManager.DirType>
    • getDefaultLocation

      @NonNull public String getDefaultLocation()
    • getName

      @NonNull public String getName()