Package com.iizix.prop
Enum ClasspathEntry.Type
- java.lang.Object
- java.lang.Enum<ClasspathEntry.Type>
- com.iizix.prop.ClasspathEntry.Type
 
 
- All Implemented Interfaces:
- java.io.Serializable,- java.lang.Comparable<ClasspathEntry.Type>
 - Enclosing class:
- ClasspathEntry
 - public static enum ClasspathEntry.Type extends java.lang.Enum<ClasspathEntry.Type> The enumeration for the ClasspathEntry type.
- Enum Constant Summary- Enum Constants - Enum Constant - Description - CONTAINEREclipse container, stored but not used for now.- EXTERNAL_DIRECTORYExternal directory outside project.- EXTERNAL_LIBRARYExternal library file (ZIP or JAR) outside project.- PROJECTProject dependency, only project name is set (no path).- PROJECT_DIRECTORYType of entry: project directory, path is relative the project.- PROJECT_LIBRARYType of entry: project library, path is relative the project.
 - Method Summary- All Methods Static Methods Concrete Methods - Modifier and Type - Method - Description - static ClasspathEntry.Type- valueOf(java.lang.String name)Returns the enum constant of this type with the specified name.- static ClasspathEntry.Type[]- values()Returns an array containing the constants of this enum type, in the order they are declared.
 
- Enum Constant Detail- 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 Detail- values- public static ClasspathEntry.Type[] values() Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:- for (ClasspathEntry.Type c : ClasspathEntry.Type.values()) System.out.println(c); - Returns:
- an array containing the constants of this enum type, in the order they are declared
 
 - valueOf- public static ClasspathEntry.Type valueOf(java.lang.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:
- java.lang.IllegalArgumentException- if this enum type has no constant with the specified name
- java.lang.NullPointerException- if the argument is null