umich.cac.pbs
Class RecordType

java.lang.Object
  extended byumich.cac.pbs.RecordType

public class RecordType
extends java.lang.Object

Typesafe enumeration class for all record types. These record types are the 2nd Field in the PBS comma separated record. For example the following line would have a record type of QUEUE_RECORD (Q)

  12/17/2002 00:11:11;Q;15045.head;queue=cac
 

Types available:

And these PBSPro specific ones

Version:
$Header: /cvsroot/pbsaccounting/pbsaccounting/doc/javadoc/umich/cac/pbs/RecordType.html,v 1.6 2003/10/21 20:33:47 rodmach Exp $
Author:
rmach@umich.edu

Field Summary
static RecordType ABORT_RECORD
          PBS Abort record
static RecordType B_RECORD
          PBSPro B Record
static RecordType CHECKPOINT_RESTART_RECORD
          PBS Checkpoint Restart record
static RecordType DELETE_RECORD
          PBS Delete record
static RecordType EXECUTION_RECORD
          PBS Execution record
static RecordType K_RECORD
          PBSPro K Record
static RecordType L_RECORD
          PBSPro L Record
static RecordType QUEUE_RECORD
          PBS Queue record
static RecordType RERUN_RECORD
          PBS Rerun record
static RecordType START_RECORD
          PBS Start record
static RecordType U_RECORD
          PBSPro U Record
static RecordType Y_RECORD
          PBSPro Y Record
 
Constructor Summary
RecordType(java.lang.String desc)
          Constructor for the RecordType object
 
Method Summary
 boolean equals(RecordType recordType)
          Record types are equal if their description is the same
 java.lang.String getDesc()
          Returns the representation of the description field (.e.g "E", "Q", "S") used for overriding equals
 java.lang.String toString()
          String representation for debugging
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

EXECUTION_RECORD

public static final RecordType EXECUTION_RECORD
PBS Execution record


QUEUE_RECORD

public static final RecordType QUEUE_RECORD
PBS Queue record


START_RECORD

public static final RecordType START_RECORD
PBS Start record


DELETE_RECORD

public static final RecordType DELETE_RECORD
PBS Delete record


RERUN_RECORD

public static final RecordType RERUN_RECORD
PBS Rerun record


ABORT_RECORD

public static final RecordType ABORT_RECORD
PBS Abort record


CHECKPOINT_RESTART_RECORD

public static final RecordType CHECKPOINT_RESTART_RECORD
PBS Checkpoint Restart record


K_RECORD

public static final RecordType K_RECORD
PBSPro K Record


L_RECORD

public static final RecordType L_RECORD
PBSPro L Record


U_RECORD

public static final RecordType U_RECORD
PBSPro U Record


Y_RECORD

public static final RecordType Y_RECORD
PBSPro Y Record


B_RECORD

public static final RecordType B_RECORD
PBSPro B Record

Constructor Detail

RecordType

public RecordType(java.lang.String desc)
Constructor for the RecordType object

Parameters:
desc - The record type string from the RecordPosition.RECORD_TYPE position
Method Detail

toString

public java.lang.String toString()
String representation for debugging

Returns:
String representation

equals

public boolean equals(RecordType recordType)
Record types are equal if their description is the same

Parameters:
recordType - RecordType object to compare
Returns:
true if equal, false otherwise

getDesc

public java.lang.String getDesc()
Returns the representation of the description field (.e.g "E", "Q", "S") used for overriding equals

Returns:
The description