Package com.mt_ag.jar.module
Enum PackageMojo.NativeType
- java.lang.Object
-
- java.lang.Enum<PackageMojo.NativeType>
-
- com.mt_ag.jar.module.PackageMojo.NativeType
-
- All Implemented Interfaces:
Serializable
,Comparable<PackageMojo.NativeType>
- Enclosing class:
- PackageMojo
public static enum PackageMojo.NativeType extends Enum<PackageMojo.NativeType>
The enum of the output type.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description deb
deb the linux deb.dmg
dmg the mac dmg.exe
exe the windows exe.image
image the image that is used for the installers.installer
installer all for one platform.msi
msi the windows msi file.pkg
pkg the mac pkg.rpm
rpm the linux rpm.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static PackageMojo.NativeType
valueOf(String name)
Returns the enum constant of this type with the specified name.static PackageMojo.NativeType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
installer
public static final PackageMojo.NativeType installer
installer all for one platform.
-
image
public static final PackageMojo.NativeType image
image the image that is used for the installers.
-
exe
public static final PackageMojo.NativeType exe
exe the windows exe.
-
msi
public static final PackageMojo.NativeType msi
msi the windows msi file.
-
dmg
public static final PackageMojo.NativeType dmg
dmg the mac dmg.
-
pkg
public static final PackageMojo.NativeType pkg
pkg the mac pkg.
-
rpm
public static final PackageMojo.NativeType rpm
rpm the linux rpm.
-
deb
public static final PackageMojo.NativeType deb
deb the linux deb.
-
-
Method Detail
-
values
public static PackageMojo.NativeType[] 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 (PackageMojo.NativeType c : PackageMojo.NativeType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PackageMojo.NativeType 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
-
-