Package japicmp.compat
Enum CompatibilityChanges.Classpath
- java.lang.Object
-
- java.lang.Enum<CompatibilityChanges.Classpath>
-
- japicmp.compat.CompatibilityChanges.Classpath
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<CompatibilityChanges.Classpath>
- Enclosing class:
- CompatibilityChanges
private static enum CompatibilityChanges.Classpath extends java.lang.Enum<CompatibilityChanges.Classpath>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description NEW_CLASSPATH
OLD_CLASSPATH
-
Constructor Summary
Constructors Modifier Constructor Description private
Classpath()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CompatibilityChanges.Classpath
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static CompatibilityChanges.Classpath[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
OLD_CLASSPATH
public static final CompatibilityChanges.Classpath OLD_CLASSPATH
-
NEW_CLASSPATH
public static final CompatibilityChanges.Classpath NEW_CLASSPATH
-
-
Method Detail
-
values
public static CompatibilityChanges.Classpath[] 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 (CompatibilityChanges.Classpath c : CompatibilityChanges.Classpath.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CompatibilityChanges.Classpath 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 namejava.lang.NullPointerException
- if the argument is null
-
-