public enum PushMode extends Enum<PushMode>
DeploymentConfiguration.getPushMode()| Enum Constant and Description |
|---|
AUTOMATIC
Push is enabled.
|
DISABLED
Push is disabled.
|
MANUAL
Push is enabled.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
isEnabled()
Checks whether the push mode is using push functionality
|
static PushMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PushMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PushMode DISABLED
ui.push() throws IllegalStateException.
This is the default mode unless
configured otherwise.
public static final PushMode MANUAL
ui.push() must be
explicitly called.public static PushMode[] values()
for (PushMode c : PushMode.values()) System.out.println(c);
public static PushMode 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 boolean isEnabled()
true if this mode requires push functionality;
false if no push functionality is used for this
mode.Copyright © 2025. All rights reserved.