public enum NodeStatus extends Enum<NodeStatus>
Workflow
.Enum Constant and Description |
---|
COMPLETED |
FAILED |
KILLED |
RUNNING |
STARTING |
STOPPING |
Modifier and Type | Method and Description |
---|---|
boolean |
isEndState()
Returns
true if the status is an end status for an execution. |
static NodeStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NodeStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NodeStatus STARTING
public static final NodeStatus RUNNING
public static final NodeStatus STOPPING
public static final NodeStatus COMPLETED
public static final NodeStatus FAILED
public static final NodeStatus KILLED
public static NodeStatus[] values()
for (NodeStatus c : NodeStatus.values()) System.out.println(c);
public static NodeStatus 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 isEndState()
true
if the status is an end status for an execution.Copyright © 2023 Cask Data, Inc. Licensed under the Apache License, Version 2.0.