public static enum UnitDescriptor.Packaging extends Enum<UnitDescriptor.Packaging>
Enum Constant and Description |
---|
CLASSPATH
the generation unit is provided in the classpath.
|
DIRECTORY
the generation unit is provided in a local directory.
|
JAR
the generation unit is provided as a jar file .
|
Modifier and Type | Method and Description |
---|---|
static UnitDescriptor.Packaging |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static UnitDescriptor.Packaging[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UnitDescriptor.Packaging JAR
public static final UnitDescriptor.Packaging DIRECTORY
public static final UnitDescriptor.Packaging CLASSPATH
public static UnitDescriptor.Packaging[] values()
for (UnitDescriptor.Packaging c : UnitDescriptor.Packaging.values()) System.out.println(c);
public static UnitDescriptor.Packaging valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2000–2020 The Apache Software Foundation. All rights reserved.