Package org.springframework.boot.maven
Enum RepackageMojo.LayoutType
- java.lang.Object
- java.lang.Enum<RepackageMojo.LayoutType>
- org.springframework.boot.maven.RepackageMojo.LayoutType
- All Implemented Interfaces:
Serializable
,Comparable<RepackageMojo.LayoutType>
- Enclosing class:
- RepackageMojo
public static enum RepackageMojo.LayoutType extends Enum<RepackageMojo.LayoutType>
Archive layout types.
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description org.springframework.boot.loader.tools.Layout
layout()
static RepackageMojo.LayoutType
valueOf(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.
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. This method may be used to iterate over the constants as follows:for (RepackageMojo.LayoutType c : RepackageMojo.LayoutType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
valueOf
public static RepackageMojo.LayoutType 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 nameNullPointerException
- if the argument is null
layout
public org.springframework.boot.loader.tools.Layout layout()