Package com.iizigo.java.classpath
Enum Class IzClasspathContainer.Type
- All Implemented Interfaces:
- Serializable,- Comparable<IzClasspathContainer.Type>,- Constable
- Enclosing class:
- IzClasspathContainer
The type of container.
- Nested Class Summary- Nested classes/interfaces inherited from class java.lang.Enum- Enum.EnumDesc<E extends Enum<E>>
- Enum Constant SummaryEnum Constants
- Method SummaryModifier and TypeMethodDescription- static IzClasspathContainer.Type- fromClasspathEntries- (IClasspathEntry[] entries) Gets the Type of IIZI Library from classpath entries.- static IzClasspathContainer.TypeGets the Type of IIZI Library from a classpath entry.- static IzClasspathContainer.TypeCreates a Type from a Path.- static IzClasspathContainer.Type- fromProject- (IProject project) Gets the Type of IIZI Library from a project.- static IzClasspathContainer.Type- fromProject- (IJavaProject project) Gets the Type of IIZI Library from a Java project.Gets the description.- getPath()Gets the path for the classpath.- static IzClasspathContainer.TypeReturns the enum constant of this class with the specified name.- static IzClasspathContainer.Type[]- values()Returns an array containing the constants of this enum class, in the order they are declared.
- Enum Constant Details- RUNTIMECore and Plug-in libraries.
- SERVERServer libraries.
- PLUGINPlug-in Development libraries.
 
- Method Details- valuesReturns 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
 
- valueOfReturns 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
 
- getPathGets the path for the classpath.
- getDescriptionGets the description.
- fromPathCreates a Type from a Path.- Parameters:
- path- The path must consist of 3 segments as "BASE_PATH/type-segment/version".
- Returns:
- The type for the path, or null for no match.
 
- fromProjectGets the Type of IIZI Library from a project.- Parameters:
- project- The project.
- Returns:
- The first encountered type (if multiple are set), or null for no match.
 
- fromProjectGets the Type of IIZI Library from a Java project.- Parameters:
- project- The Java project.
- Returns:
- The first encountered type (if multiple are set), or null for no match.
 
- fromClasspathEntriesGets the Type of IIZI Library from classpath entries.- Parameters:
- entries- The classpath entries.
- Returns:
- The first encountered type (if multiple are set), or null for no match.
 
- fromClasspathEntryGets the Type of IIZI Library from a classpath entry.- Parameters:
- entry- The classpath entry.
- Returns:
- The type, or null for no match.