co.cask.tigon.app.program
Enum ProgramType
java.lang.Object
java.lang.Enum<ProgramType>
co.cask.tigon.app.program.ProgramType
- All Implemented Interfaces:
- Serializable, Comparable<ProgramType>
public enum ProgramType
- extends Enum<ProgramType>
Defines types of programs supported by the system.
|
Enum Constant Summary |
FLOW
|
FLOW
public static final ProgramType FLOW
values
public static ProgramType[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (ProgramType c : ProgramType.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static ProgramType valueOf(String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name - the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is null
isListable
public boolean isListable()
getCategoryName
public String getCategoryName()
getPrettyName
public String getPrettyName()
valueOfPrettyName
public static ProgramType valueOfPrettyName(String pretty)
toString
public String toString()
- Overrides:
toString in class Enum<ProgramType>
Copyright © 2014 Cask Data, Inc. Licensed under the Apache License, Version 2.0.