public enum AssemblyMode extends Enum<AssemblyMode>
Enum Constant and Description |
---|
dir
Copy files directly in the directory
|
tar
Use a TAR container as intermediate format
|
tgz
Use a compressed TAR container as intermediate format
|
zip
Use a ZIP container as intermediate format
|
Modifier and Type | Method and Description |
---|---|
String |
getExtension()
Get the extension as known by the Maven assembler
|
boolean |
isArchive() |
static AssemblyMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AssemblyMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AssemblyMode dir
public static final AssemblyMode zip
public static final AssemblyMode tar
public static final AssemblyMode tgz
public static AssemblyMode[] values()
for (AssemblyMode c : AssemblyMode.values()) System.out.println(c);
public static AssemblyMode valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String getExtension()
public boolean isArchive()
Copyright © 2021. All rights reserved.