Enum PluginDescriptorFilesGenerator.DescriptorType
- java.lang.Object
-
- java.lang.Enum<PluginDescriptorFilesGenerator.DescriptorType>
-
- org.apache.maven.tools.plugin.generator.PluginDescriptorFilesGenerator.DescriptorType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<PluginDescriptorFilesGenerator.DescriptorType>
- Enclosing class:
- PluginDescriptorFilesGenerator
static enum PluginDescriptorFilesGenerator.DescriptorType extends java.lang.Enum<PluginDescriptorFilesGenerator.DescriptorType>
The type of the plugin descriptor file
-
-
Enum Constant Summary
Enum Constants Enum Constant Description LIMITED_FOR_HELP_MOJO
STANDARD
XHTML
-
Constructor Summary
Constructors Modifier Constructor Description private
DescriptorType()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static PluginDescriptorFilesGenerator.DescriptorType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static PluginDescriptorFilesGenerator.DescriptorType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
STANDARD
public static final PluginDescriptorFilesGenerator.DescriptorType STANDARD
-
LIMITED_FOR_HELP_MOJO
public static final PluginDescriptorFilesGenerator.DescriptorType LIMITED_FOR_HELP_MOJO
-
XHTML
public static final PluginDescriptorFilesGenerator.DescriptorType XHTML
-
-
Method Detail
-
values
public static PluginDescriptorFilesGenerator.DescriptorType[] 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 (PluginDescriptorFilesGenerator.DescriptorType c : PluginDescriptorFilesGenerator.DescriptorType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PluginDescriptorFilesGenerator.DescriptorType 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
-
-