org.nuiton.plugin
Enum Plugin.Packaging
java.lang.Object
java.lang.Enum<Plugin.Packaging>
org.nuiton.plugin.Plugin.Packaging
- All Implemented Interfaces:
- Serializable, Comparable<Plugin.Packaging>
- Enclosing interface:
- Plugin
public static enum Plugin.Packaging
- extends Enum<Plugin.Packaging>
An enumeration to qualify a maven module packaging
pom
public static final Plugin.Packaging pom
jar
public static final Plugin.Packaging jar
plugin
public static final Plugin.Packaging plugin
war
public static final Plugin.Packaging war
ear
public static final Plugin.Packaging ear
values
public static Plugin.Packaging[] 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 (Plugin.Packaging c : Plugin.Packaging.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static Plugin.Packaging valueOf(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:
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is null
Copyright © 2009-2012 CodeLutin. All Rights Reserved.