|
iSeries Remote Systems v6.0.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.etools.iseries.core.api.ISeriesDataElementWrapper
com.ibm.etools.iseries.core.api.ISeriesJob
This is a usable representation of an iSeries job object on a remote iSeries object. It contains most of the attributes as retrieved from the system api for job objects.
This object is instantiated from the DataElement object that is normally returned from a list jobs request.
Note that the setXXX methods do not change the record on the host. Rather, their purpose is simply to capture the attribute internally, after reading it from an external source, say.
Field Summary | |
---|---|
static String |
copyright
|
Fields inherited from class com.ibm.etools.iseries.core.api.ISeriesDataElementWrapper |
---|
cacheFilter, cacheTimeStamp, dataelement, EXPIRE_TIME, lastException, lastRunMsg, lastRunMsgId, localCache |
Constructor Summary | |
---|---|
ISeriesJob(com.ibm.etools.systems.dstore.core.model.DataElement dataelement)
Constructor |
Method Summary | |
---|---|
String |
getAbsoluteName()
From base class. |
Object |
getAdapter(Class adapterType)
This is the method required by the IAdaptable interface. |
int |
getCCSID()
Return the CCSID for this Job |
Date |
getDateEntered()
Return the status for this job. |
String |
getDateFormat()
Return the date format for this Job |
String |
getDateSeparator()
Return the date format for this Job |
int |
getDefaultCCSID()
Return the default CCSID for this Job |
String |
getFullJobName()
Return the fully qualified iSeries job name in the format: jobNumber/userName/jobName |
String |
getJobDataElementDescriptor()
Return the dataelement descriptor for this iSeries job object |
String |
getJobName()
Return the job name part of the iSeries job |
String |
getJobNumber()
Return the job number part of the iSeries job |
String |
getJobType()
Return the dataelement type for this iSeries job object |
String |
getLibraryName()
From base class. |
void |
getProperties()
Retrieve the properties for this Job if they have not already been retrieved. |
String |
getStatus()
Return the status for this job. |
String |
getTimeSeparator()
Return the date format for this Job |
String |
getUserName()
Return the user name part of the iSeries job |
void |
refreshJobProperties()
Refresh the properties for this job. |
void |
showJobLog(Shell shell)
Shows the job log for the job. |
Methods inherited from class com.ibm.etools.iseries.core.api.ISeriesDataElementWrapper |
---|
checkIsConnected, extractProperty, extractPropertyAsBoolean, extractPropertyAsByte, extractPropertyAsChar, extractPropertyAsInt, getCommandSubSystem, getDataElement, getDataStore, getFileSubSystem, getISeriesConnection, getLastException, getLastRunMessage, getLocalCache, getPropertiesNode, runCommand, setLastException, setLocalCache |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final String copyright
Constructor Detail |
public ISeriesJob(com.ibm.etools.systems.dstore.core.model.DataElement dataelement)
Method Detail |
public String getLibraryName()
Return the library containing this remote QSYS file system object.
We return null, as this is not applicable to jobs
getLibraryName
in class ISeriesDataElementWrapper
public String getAbsoluteName()
Return the absolute object name, which should be the same as calling getAbsoluteName on this object's remote adapter.
Same as getFullJobName().
We return jobNumber/userName/jobName
getAbsoluteName
in class ISeriesDataElementWrapper
public Object getAdapter(Class adapterType)
ISeriesDataElementWrapper
By default this defers to the getAdapter method of the contained DataElement
getAdapter
in interface IAdaptable
getAdapter
in class ISeriesDataElementWrapper
IAdaptable.getAdapter(Class)
public String getJobDataElementDescriptor()
public String getJobType()
public String getFullJobName()
Same as getAbsoluteName().
public String getJobNumber()
public String getUserName()
public String getJobName()
public void showJobLog(Shell shell)
shell
- the shellpublic void getProperties() throws com.ibm.etools.systems.core.messages.SystemMessageException
com.ibm.etools.systems.core.messages.SystemMessageException
public void refreshJobProperties()
public int getCCSID() throws com.ibm.etools.systems.core.messages.SystemMessageException
com.ibm.etools.systems.core.messages.SystemMessageException
public int getDefaultCCSID() throws com.ibm.etools.systems.core.messages.SystemMessageException
com.ibm.etools.systems.core.messages.SystemMessageException
public String getDateFormat() throws com.ibm.etools.systems.core.messages.SystemMessageException
com.ibm.etools.systems.core.messages.SystemMessageException
public String getDateSeparator() throws com.ibm.etools.systems.core.messages.SystemMessageException
com.ibm.etools.systems.core.messages.SystemMessageException
public String getTimeSeparator() throws com.ibm.etools.systems.core.messages.SystemMessageException
com.ibm.etools.systems.core.messages.SystemMessageException
public String getStatus() throws com.ibm.etools.systems.core.messages.SystemMessageException
com.ibm.etools.systems.core.messages.SystemMessageException
public Date getDateEntered() throws com.ibm.etools.systems.core.messages.SystemMessageException
com.ibm.etools.systems.core.messages.SystemMessageException
|
iSeries Remote Systems v6.0.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |