public enum StartupMode extends Enum<StartupMode>
StartupMode
It distinguishes between an initial startup (INSTALL), an update (UPDATE)
and a restart without a change (RESTART).Modifier and Type | Method and Description |
---|---|
static StartupMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StartupMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StartupMode INSTALL
public static final StartupMode UPDATE
public static final StartupMode RESTART
public static StartupMode[] values()
for (StartupMode c : StartupMode.values()) System.out.println(c);
public static StartupMode 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 © 2007–2015 The Apache Software Foundation. All rights reserved.