org.mmbase.streams.createcaches
Enum Stage

java.lang.Object
  extended by java.lang.Enum<Stage>
      extended by org.mmbase.streams.createcaches.Stage
All Implemented Interfaces:
Serializable, Comparable<Stage>

public enum Stage
extends Enum<Stage>

This enum can contain the 'stage' of the transcoding process

Version:
$Id: Stage.java 39936 2009-11-25 14:05:18Z andre $
Author:
Michiel Meeuwissen

Enum Constant Summary
READY
          Everything's done!
RECOGNIZER
          Currently busy with a recognizer
TRANSCODER
          Currently busy with a transcoder
UNSTARTED
          Nothing happend yet.
 
Method Summary
static Stage valueOf(String name)
          Returns the enum constant of this type with the specified name.
static Stage[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

UNSTARTED

public static final Stage UNSTARTED
Nothing happend yet.


RECOGNIZER

public static final Stage RECOGNIZER
Currently busy with a recognizer


TRANSCODER

public static final Stage TRANSCODER
Currently busy with a transcoder


READY

public static final Stage READY
Everything's done!

Method Detail

values

public static Stage[] 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 (Stage c : Stage.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static Stage 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


MMBase 2.0-SNAPSHOT - null