public enum ControlAction extends Enum<ControlAction>
ControlAction
defines values to used as the action for the
Feature Launcher control with the "org.apache.sling.kickstart.app.KickstartStarter#doControlAction()" method.Enum Constant and Description |
---|
FOREGROUND |
START
Indicates the Feature Launcher application should be started and a listener should
be installed to accept control commands.
|
STATUS
Indicates to connect to a running Feature Launcher application having installed a
listener and ask that application about its state.
|
STOP
Indicates to connect to a running Feature Launcher application having installed a
listener and send that application the command to shutdown.
|
THREADS
Indicates to connect to a running Feature Launcher application having installed a
listener and ask for a thread dump.
|
Modifier and Type | Method and Description |
---|---|
static ControlAction |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ControlAction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ControlAction START
public static final ControlAction STOP
public static final ControlAction STATUS
public static final ControlAction FOREGROUND
public static final ControlAction THREADS
public static ControlAction[] values()
for (ControlAction c : ControlAction.values()) System.out.println(c);
public static ControlAction 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–2020 The Apache Software Foundation. All rights reserved.