public enum PlatformState extends Enum<PlatformState>
Enum Constant and Description |
---|
STARTED
The Platform is started:
- Services are running
- Tenants that are Activated are STARTED or are STARTING
- Calls can be made on platform APIs
|
STARTING
The Platform is transitioning from state STOPPED to state STARTED
- Tenants are still STOPPED ( will be started once the Platform is STARTED)
- No calls can be made on APIs
|
STOPPED
The Platform is stopped:
- Services are stopped
- All Tenants are also STOPPED
- No call to APIs can be made (except to login and start platform)
|
STOPPING
The Platform is transitioning from state STARTED to state STOPPED
- Tenants are STOPPED or STOPPING
- No calls can be made on APIs
|
Modifier and Type | Method and Description |
---|---|
static PlatformState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PlatformState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PlatformState STARTED
public static final PlatformState STARTING
public static final PlatformState STOPPED
public static final PlatformState STOPPING
public static PlatformState[] values()
for (PlatformState c : PlatformState.values()) System.out.println(c);
public static PlatformState 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 © 2020 Bonitasoft S.A. All rights reserved.