Package nl.vpro.domain.media.support
Enum AvailableSubtitlesWorkflow
- java.lang.Object
-
- java.lang.Enum<AvailableSubtitlesWorkflow>
-
- nl.vpro.domain.media.support.AvailableSubtitlesWorkflow
-
- All Implemented Interfaces:
Serializable
,Comparable<AvailableSubtitlesWorkflow>
public enum AvailableSubtitlesWorkflow extends Enum<AvailableSubtitlesWorkflow>
- Since:
- 5.3
- Author:
- Michiel Meeuwissen
-
-
Enum Constant Summary
Enum Constants Enum Constant Description FOR_PUBLICATION
The mediaobject needs republication because it gained or loosed publishable subtitlesNONE
There are no subtitles (yet).PUBLISHED
The mediaobject is properly published with respect to its subtitles.REVOKED
During publishing of the mediaobjectMediaObjects.subtitlesMayBePublished(MediaObject)
, returned false.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static AvailableSubtitlesWorkflow
valueOf(String name)
Returns the enum constant of this type with the specified name.static AvailableSubtitlesWorkflow[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PUBLISHED
public static final AvailableSubtitlesWorkflow PUBLISHED
The mediaobject is properly published with respect to its subtitles.
-
FOR_PUBLICATION
public static final AvailableSubtitlesWorkflow FOR_PUBLICATION
The mediaobject needs republication because it gained or loosed publishable subtitles
-
REVOKED
public static final AvailableSubtitlesWorkflow REVOKED
During publishing of the mediaobjectMediaObjects.subtitlesMayBePublished(MediaObject)
, returned false.
-
NONE
public static final AvailableSubtitlesWorkflow NONE
There are no subtitles (yet).- Since:
- 7.1
-
-
Method Detail
-
values
public static AvailableSubtitlesWorkflow[] 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 (AvailableSubtitlesWorkflow c : AvailableSubtitlesWorkflow.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AvailableSubtitlesWorkflow 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
-
-