public enum ProgramRunStatus extends Enum<ProgramRunStatus>
| Enum Constant and Description |
|---|
ALL |
COMPLETED |
FAILED |
KILLED |
RUNNING |
SUSPENDED |
| Modifier and Type | Method and Description |
|---|---|
static ProgramRunStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ProgramRunStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ProgramRunStatus ALL
public static final ProgramRunStatus RUNNING
public static final ProgramRunStatus SUSPENDED
public static final ProgramRunStatus COMPLETED
public static final ProgramRunStatus FAILED
public static final ProgramRunStatus KILLED
public static ProgramRunStatus[] values()
for (ProgramRunStatus c : ProgramRunStatus.values()) System.out.println(c);
public static ProgramRunStatus 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 © 2015 Cask Data, Inc. Licensed under the Apache License, Version 2.0.