public enum OpenUserActivityState extends Enum<OpenUserActivityState> implements UserActivityState
Enum Constant and Description |
---|
EXCEEDED_DEADLINE |
IN_SUBSTITUTION |
NEW |
OPEN |
RUNNING |
WAITING_TO_START |
Modifier and Type | Method and Description |
---|---|
static OpenUserActivityState |
fromValue(String value) |
String |
getPath() |
String |
getValue() |
static OpenUserActivityState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OpenUserActivityState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OpenUserActivityState OPEN
public static final OpenUserActivityState NEW
public static final OpenUserActivityState RUNNING
public static final OpenUserActivityState WAITING_TO_START
public static final OpenUserActivityState IN_SUBSTITUTION
public static final OpenUserActivityState EXCEEDED_DEADLINE
public static OpenUserActivityState[] values()
for (OpenUserActivityState c : OpenUserActivityState.values()) System.out.println(c);
public static OpenUserActivityState 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 String getPath()
getPath
in interface UserActivityState
public String getValue()
getValue
in interface UserActivityState
@Nullable public static OpenUserActivityState fromValue(String value)
Copyright © 2025 Suncode. All rights reserved.