public enum ProcessState extends Enum<ProcessState>
Enum Constant and Description |
---|
AVAILABLE |
COMPLETED |
DISCARDED |
IN_PROGRESS |
Modifier and Type | Method and Description |
---|---|
static ProcessState |
fromByte(byte bits) |
byte |
toByte() |
static ProcessState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ProcessState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ProcessState AVAILABLE
public static final ProcessState IN_PROGRESS
public static final ProcessState DISCARDED
public static final ProcessState COMPLETED
public static ProcessState[] values()
for (ProcessState c : ProcessState.values()) System.out.println(c);
public static ProcessState 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 static ProcessState fromByte(byte bits)
public byte toByte()
Copyright © 2024 Cask Data, Inc. Licensed under the Apache License, Version 2.0.