juife
v0.1a

net.sf.juife.event
Enum TaskQueueEvent.ID

java.lang.Object
  extended by java.lang.Enum<TaskQueueEvent.ID>
      extended by net.sf.juife.event.TaskQueueEvent.ID
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<TaskQueueEvent.ID>
Enclosing class:
TaskQueueEvent

public static enum TaskQueueEvent.ID
extends java.lang.Enum<TaskQueueEvent.ID>

Represents the TaskQueueEvent type.


Enum Constant Summary
EMPTY
          Indicates that the task queue is empty.
FILLED
          Indicates that the task queue has changed the state from empty to filled.
IDLE
          Indicates that the task queue is in idle state.
NOT_IDLE
          Indicates that the task queue has just exited the idle state.
STARTED
          Indicates that the task queue is started.
STOPPED
          Indicates that the task queue is stopped.
TASK_DONE
          Indicates that the current running task is done.
TASK_FETCHED
          Indicates that a new task has been fetched for execution from the queue.
 
Method Summary
static TaskQueueEvent.ID valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static TaskQueueEvent.ID[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

STARTED

public static final TaskQueueEvent.ID STARTED
Indicates that the task queue is started.


STOPPED

public static final TaskQueueEvent.ID STOPPED
Indicates that the task queue is stopped.


EMPTY

public static final TaskQueueEvent.ID EMPTY
Indicates that the task queue is empty.


IDLE

public static final TaskQueueEvent.ID IDLE
Indicates that the task queue is in idle state.


NOT_IDLE

public static final TaskQueueEvent.ID NOT_IDLE
Indicates that the task queue has just exited the idle state.


FILLED

public static final TaskQueueEvent.ID FILLED
Indicates that the task queue has changed the state from empty to filled.


TASK_FETCHED

public static final TaskQueueEvent.ID TASK_FETCHED
Indicates that a new task has been fetched for execution from the queue.

See Also:
TaskQueue.getRunningTask()

TASK_DONE

public static final TaskQueueEvent.ID TASK_DONE
Indicates that the current running task is done.

See Also:
TaskQueue.getRunningTask()
Method Detail

values

public static final TaskQueueEvent.ID[] values()
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants as follows:
for(TaskQueueEvent.ID c : TaskQueueEvent.ID.values())
        System.out.println(c);

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

valueOf

public static TaskQueueEvent.ID valueOf(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name

juife
v0.1a

Copyright © 2005 Grigor Iliev. All rights reserved. SourceForge.net Logo