com.altair.hwm.comm.loadsubmission
Class HWMJobStatusCodes

java.lang.Object
  extended by com.altair.hwm.comm.loadsubmission.HWMJobStatusCodes

public class HWMJobStatusCodes
extends java.lang.Object

Title: HWMJobStatusCodes

Description: Represents the job status of a given job.

Company: Altair Engineering, Inc.


Field Summary
static int HDM_JOBCREATED
          The possible job status codes
static int HDM_JOBFAILED
           
static int HDM_JOBFINISHED
           
static int HDM_JOBQUEUED
           
static int HDM_JOBREJECTEDCPU
           
static int HDM_JOBREJECTEDRAM
           
static int HDM_JOBREJECTEDUNSPECIFIED
           
static int HDM_JOBRUNNING
           
static int HDM_JOBUPLOADFINISHED
           
static int HDM_JOBUPLOADSTARTED
           
 
Constructor Summary
HWMJobStatusCodes()
          Constructor
 
Method Summary
 java.lang.String GetDesc()
          Get the description for the status
 int GetStatus()
          Get the status code.
 void SetDesc(java.lang.String strDesc)
          Set the description for the status
 void SetStatus(int nStatus)
          Set the status code.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

HDM_JOBCREATED

public static final int HDM_JOBCREATED
The possible job status codes

See Also:
Constant Field Values

HDM_JOBUPLOADSTARTED

public static final int HDM_JOBUPLOADSTARTED
See Also:
Constant Field Values

HDM_JOBUPLOADFINISHED

public static final int HDM_JOBUPLOADFINISHED
See Also:
Constant Field Values

HDM_JOBQUEUED

public static final int HDM_JOBQUEUED
See Also:
Constant Field Values

HDM_JOBRUNNING

public static final int HDM_JOBRUNNING
See Also:
Constant Field Values

HDM_JOBFINISHED

public static final int HDM_JOBFINISHED
See Also:
Constant Field Values

HDM_JOBFAILED

public static final int HDM_JOBFAILED
See Also:
Constant Field Values

HDM_JOBREJECTEDRAM

public static final int HDM_JOBREJECTEDRAM
See Also:
Constant Field Values

HDM_JOBREJECTEDCPU

public static final int HDM_JOBREJECTEDCPU
See Also:
Constant Field Values

HDM_JOBREJECTEDUNSPECIFIED

public static final int HDM_JOBREJECTEDUNSPECIFIED
See Also:
Constant Field Values
Constructor Detail

HWMJobStatusCodes

public HWMJobStatusCodes()
Constructor

Method Detail

SetDesc

public void SetDesc(java.lang.String strDesc)
Set the description for the status

Parameters:
strDesc - The description for the status

GetDesc

public java.lang.String GetDesc()
Get the description for the status

Returns:
String The description for the status

SetStatus

public void SetStatus(int nStatus)
Set the status code.

Parameters:
nStatus - The status code for the job. One of the ECOMPUTE_JOBXXX.

GetStatus

public int GetStatus()
Get the status code.

Returns:
int The status code for the job. One of the ECOMPUTE_JOBXXX.