com.elixirtech.ers2.client
Class JobInfo

java.lang.Object
  extended by com.elixirtech.ers2.client.JobInfo
All Implemented Interfaces:
IJobInfo

public class JobInfo
extends java.lang.Object
implements IJobInfo


Nested Class Summary
static class JobInfo.Entry
           
 
Field Summary
static java.lang.String INTEGER
           
static java.lang.String LONG
           
static int STATUS_LOGGED_EXCEPTION
           
static int STATUS_OK
           
static int STATUS_UNKNOWN
           
static java.lang.String STRING
           
static int TYPE_INTEGER
           
static int TYPE_LONG
           
static int TYPE_STRING
           
 
Fields inherited from interface com.elixirtech.report2.runtime.IJobInfo
STATUS_QUEUE_FULL
 
Fields inherited from interface com.elixirtech.job.IJobInfo
BYTE_SIZE, ID, JOB_ENDED, JOB_EXCEPTION, JOB_RECEIVED, JOB_STARTED, LOG_FILE, MIME_TYPE, NAME, NOVALUE, PAGE_COUNT, PROGRESS, RECORD_COUNT, RESULT, RESULT_UNZIPPED, STATUS_CANCELLED, STATUS_CODE, STATUS_NO_DATASOURCE, STATUS_NO_DETAILS, STATUS_NO_JOB, STATUS_NO_REPORT, STATUS_RENDER_TIMEOUT, STATUS_TIMEOUT, STATUS_UNABLE_TO_COMPLETE
 
Constructor Summary
JobInfo()
           
 
Method Summary
 java.util.Map<java.lang.String,JobInfo.Entry> getEntries()
           
 JobInfo.Entry getEntry(java.lang.String name)
           
 int getInteger(java.lang.String name)
           
 long getLong(java.lang.String name)
           
 java.lang.String[] getPropertyNames()
           
 java.lang.String getString(java.lang.String name)
           
 void setEntry(java.lang.String name, JobInfo.Entry e)
           
 void setInteger(java.lang.String name, int value)
           
 void setLong(java.lang.String name, long value)
           
 void setString(java.lang.String name, java.lang.String value)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

TYPE_STRING

public static final int TYPE_STRING
See Also:
Constant Field Values

TYPE_INTEGER

public static final int TYPE_INTEGER
See Also:
Constant Field Values

TYPE_LONG

public static final int TYPE_LONG
See Also:
Constant Field Values

STRING

public static final java.lang.String STRING
See Also:
Constant Field Values

INTEGER

public static final java.lang.String INTEGER
See Also:
Constant Field Values

LONG

public static final java.lang.String LONG
See Also:
Constant Field Values

STATUS_UNKNOWN

public static final int STATUS_UNKNOWN
See Also:
Constant Field Values

STATUS_OK

public static final int STATUS_OK
See Also:
Constant Field Values

STATUS_LOGGED_EXCEPTION

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

JobInfo

public JobInfo()
Method Detail

setString

public void setString(java.lang.String name,
                      java.lang.String value)
Specified by:
setString in interface IJobInfo

setInteger

public void setInteger(java.lang.String name,
                       int value)
Specified by:
setInteger in interface IJobInfo

setLong

public void setLong(java.lang.String name,
                    long value)
Specified by:
setLong in interface IJobInfo

getString

public java.lang.String getString(java.lang.String name)
Specified by:
getString in interface IJobInfo

getInteger

public int getInteger(java.lang.String name)
Specified by:
getInteger in interface IJobInfo

getLong

public long getLong(java.lang.String name)
Specified by:
getLong in interface IJobInfo

getPropertyNames

public java.lang.String[] getPropertyNames()
Specified by:
getPropertyNames in interface IJobInfo

getEntry

public JobInfo.Entry getEntry(java.lang.String name)

setEntry

public void setEntry(java.lang.String name,
                     JobInfo.Entry e)

getEntries

public java.util.Map<java.lang.String,JobInfo.Entry> getEntries()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object