Enum AutoTranslateService.TranslationStatus
- java.lang.Object
-
- java.lang.Enum<AutoTranslateService.TranslationStatus>
-
- com.composum.ai.aem.core.impl.autotranslate.AutoTranslateService.TranslationStatus
-
- All Implemented Interfaces:
Serializable
,Comparable<AutoTranslateService.TranslationStatus>
- Enclosing interface:
- AutoTranslateService
public static enum AutoTranslateService.TranslationStatus extends Enum<AutoTranslateService.TranslationStatus>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CANCELLED
CANCELLING
DONE_WITH_ERRORS
ERROR
FINISHED
INTERRUPTED
QUEUED
RUNNING
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static AutoTranslateService.TranslationStatus
valueOf(String name)
Returns the enum constant of this type with the specified name.static AutoTranslateService.TranslationStatus[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
QUEUED
public static final AutoTranslateService.TranslationStatus QUEUED
-
CANCELLING
public static final AutoTranslateService.TranslationStatus CANCELLING
-
RUNNING
public static final AutoTranslateService.TranslationStatus RUNNING
-
CANCELLED
public static final AutoTranslateService.TranslationStatus CANCELLED
-
DONE_WITH_ERRORS
public static final AutoTranslateService.TranslationStatus DONE_WITH_ERRORS
-
INTERRUPTED
public static final AutoTranslateService.TranslationStatus INTERRUPTED
-
ERROR
public static final AutoTranslateService.TranslationStatus ERROR
-
FINISHED
public static final AutoTranslateService.TranslationStatus FINISHED
-
-
Method Detail
-
values
public static AutoTranslateService.TranslationStatus[] 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 (AutoTranslateService.TranslationStatus c : AutoTranslateService.TranslationStatus.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AutoTranslateService.TranslationStatus 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 nameNullPointerException
- if the argument is null
-
-