public static enum TranslationModel.Status extends Enum<TranslationModel.Status>
Enum Constant and Description |
---|
AVAILABLE
The available.
|
ERROR
The error.
|
TRAINING
The training.
|
Modifier and Type | Method and Description |
---|---|
static TranslationModel.Status |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TranslationModel.Status[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TranslationModel.Status AVAILABLE
public static final TranslationModel.Status ERROR
public static final TranslationModel.Status TRAINING
public static TranslationModel.Status[] values()
for (TranslationModel.Status c : TranslationModel.Status.values()) System.out.println(c);
public static TranslationModel.Status 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–2016 IBM Watson. All rights reserved.