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