public enum ScriptType extends Enum<ScriptType>
The type of an installation script.
| Enum Constant and Description |
|---|
POSTINST
The post-installation script.
|
POSTRM
The post-removal script.
|
PREINST
The pre-installation script.
|
PRERM
The pre-removal script.
|
| Modifier and Type | Method and Description |
|---|---|
static ScriptType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ScriptType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ScriptType PREINST
public static final ScriptType POSTINST
public static final ScriptType PRERM
public static final ScriptType POSTRM
public static ScriptType[] values()
for (ScriptType c : ScriptType.values()) System.out.println(c);
public static ScriptType 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 nullCopyright © 2015–2018. All rights reserved.