Enum Class ClasspathEntry.Type

java.lang.Object
java.lang.Enum<ClasspathEntry.Type>
com.iizix.prop.ClasspathEntry.Type
All Implemented Interfaces:
Serializable, Comparable<ClasspathEntry.Type>, Constable
Enclosing class:
ClasspathEntry

public static enum ClasspathEntry.Type extends Enum<ClasspathEntry.Type>
The enumeration for the ClasspathEntry type.
  • Enum Constant Details

    • SOURCE_DIRECTORY

      public static final ClasspathEntry.Type SOURCE_DIRECTORY
      Source directory.
    • PROJECT_DIRECTORY

      public static final ClasspathEntry.Type PROJECT_DIRECTORY
      Type of entry: project directory, path is relative the project.
    • PROJECT_LIBRARY

      public static final ClasspathEntry.Type PROJECT_LIBRARY
      Type of entry: project library, path is relative the project.
    • EXTERNAL_LIBRARY

      public static final ClasspathEntry.Type EXTERNAL_LIBRARY
      External library file (ZIP or JAR) outside project.
    • EXTERNAL_DIRECTORY

      public static final ClasspathEntry.Type EXTERNAL_DIRECTORY
      External directory outside project.
    • PROJECT

      public static final ClasspathEntry.Type PROJECT
      Project dependency, only project name is set (no path).
    • CONTAINER

      public static final ClasspathEntry.Type CONTAINER
      Eclipse container, stored but not used for now.
  • Method Details

    • values

      public static ClasspathEntry.Type[] 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

      public static ClasspathEntry.Type valueOf(String name)
      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 name
      NullPointerException - if the argument is null