Package io.joshworks.snappy.maven
Enum RepackageMojo.LayoutType
- java.lang.Object
-
- java.lang.Enum<RepackageMojo.LayoutType>
-
- io.joshworks.snappy.maven.RepackageMojo.LayoutType
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<RepackageMojo.LayoutType>,java.lang.constant.Constable
- Enclosing class:
- RepackageMojo
public static enum RepackageMojo.LayoutType extends java.lang.Enum<RepackageMojo.LayoutType>
Archive layout types.
-
-
Method Summary
Modifier and Type Method Description Layoutlayout()static RepackageMojo.LayoutTypevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static RepackageMojo.LayoutType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
JAR
public static final RepackageMojo.LayoutType JAR
Jar Layout.
-
WAR
public static final RepackageMojo.LayoutType WAR
War Layout.
-
ZIP
public static final RepackageMojo.LayoutType ZIP
Zip Layout.
-
DIR
public static final RepackageMojo.LayoutType DIR
Dir Layout.
-
MODULE
public static final RepackageMojo.LayoutType MODULE
Module Layout.
-
NONE
public static final RepackageMojo.LayoutType NONE
No Layout.
-
-
Method Detail
-
values
public static RepackageMojo.LayoutType[] values()
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static RepackageMojo.LayoutType 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
-
layout
public Layout layout()
-
-