org.peace_tools.workspace
Enum WorkspaceEvent.EntryType

java.lang.Object
  extended by java.lang.Enum<WorkspaceEvent.EntryType>
      extended by org.peace_tools.workspace.WorkspaceEvent.EntryType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<WorkspaceEvent.EntryType>
Enclosing class:
WorkspaceEvent

public static enum WorkspaceEvent.EntryType
extends java.lang.Enum<WorkspaceEvent.EntryType>

Enumeration for the different types of Workpace entries that can be reported via a WorkspaceEvent object.


Enum Constant Summary
CLASSIFIER_LIST
          Enumeration used to report that the list of DB classifiers in this work space have all changed.
DATA_SET
          Enumeration used to report information regarding a data set (that consists of a EST file, a set of MSTData objects, and a MSTClusterData file).
JOB
          Enumeration used to report information regarding a job entry.
MST_CLUSTER_DATA
          Enumeration used to report information regarding a cluster data file.
MST_DATA
          Enumeration used to report information regarding a MST data file.
SERVER
          Enumeration used to report information regarding a Server entry.
 
Method Summary
static WorkspaceEvent.EntryType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static WorkspaceEvent.EntryType[] 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

DATA_SET

public static final WorkspaceEvent.EntryType DATA_SET
Enumeration used to report information regarding a data set (that consists of a EST file, a set of MSTData objects, and a MSTClusterData file). The source object in the event is a DataSet object.


MST_DATA

public static final WorkspaceEvent.EntryType MST_DATA
Enumeration used to report information regarding a MST data file. The source object in the event is a MSTData object.


MST_CLUSTER_DATA

public static final WorkspaceEvent.EntryType MST_CLUSTER_DATA
Enumeration used to report information regarding a cluster data file. The source object in the event is a MSTClusterData object.


JOB

public static final WorkspaceEvent.EntryType JOB
Enumeration used to report information regarding a job entry. The source object in the event is a Job object.


SERVER

public static final WorkspaceEvent.EntryType SERVER
Enumeration used to report information regarding a Server entry. The source object in the event is a Server object.


CLASSIFIER_LIST

public static final WorkspaceEvent.EntryType CLASSIFIER_LIST
Enumeration used to report that the list of DB classifiers in this work space have all changed. Currently, the classifiers are all changed in one flail swoop.

Method Detail

values

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

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

valueOf

public static WorkspaceEvent.EntryType 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
java.lang.NullPointerException - if the argument is null