public static enum StageService.ExitPolicy extends Enum<StageService.ExitPolicy>
| Enum Constant and Description |
|---|
DO_NOTHING_ON_STAGE_EXIT
Does nothing when the Stage is closed.
|
SHUTDOWN_ON_STAGE_EXIT
Tries to shut down the OSGi framework when a stage is closed.
|
STOP_BUNDLE_ON_STAGE_EXIT
Stops the bundle that provides the UI contained in that stage.
|
| Modifier and Type | Method and Description |
|---|---|
static StageService.ExitPolicy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StageService.ExitPolicy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StageService.ExitPolicy SHUTDOWN_ON_STAGE_EXIT
public static final StageService.ExitPolicy STOP_BUNDLE_ON_STAGE_EXIT
public static final StageService.ExitPolicy DO_NOTHING_ON_STAGE_EXIT
public static StageService.ExitPolicy[] values()
for (StageService.ExitPolicy c : StageService.ExitPolicy.values()) System.out.println(c);
public static StageService.ExitPolicy 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 © 2019. All rights reserved.