org.nuiton.plugin
Enum Plugin.Packaging

java.lang.Object
  extended by java.lang.Enum<Plugin.Packaging>
      extended by 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


Enum Constant Summary
ear
           
jar
           
plugin
           
pom
           
war
           
 
Method Summary
static Plugin.Packaging valueOf(String name)
          Returns the enum constant of this type with the specified name.
static Plugin.Packaging[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

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
Method Detail

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-2011 CodeLutin. All Rights Reserved.