|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
| Method Summary | |
void |
AddJobListEntry(int nIndex,
int Class,
int ObjectID)
Adds an operation to the list of items executed within this job |
boolean |
GetDeleteWhenDone()
Returns a boolean indicating whether the Job object will be automatically removed upon completion. |
boolean |
GetIsSuspendable()
- OBSELETE, Functionality moved to automation server agents - Returns a boolean indicating whether this operation supports suspension, or is capable of serializing its execution state. |
IPTSchedule |
GetSchedule()
Returns a schedule object indicating the next scheduled launch and recurring interval (if any) |
int |
GetSettingsAsInt(int JobSetting)
Returns an int corresponding to a PT_JOB_SETTINGS determining runtimes, timeouts, and logging levels |
com.plumtree.openfoundation.util.XPDateTime |
GetSettingsAsXPDateTime(int JobSetting)
Returns an XPDateTime corresponding to a PT_JOB_SETTINGS determining runtimes, timeouts, and logging levels |
int |
GetStatus()
- OBSELETE, Functionality moved to automation server agents - Returns an int corresponding to a PT_JOBSTATUS indicating the state of the job (running, interrupted, failed, suspended, etc.) |
IPTQueryResult |
QueryJobList()
Returns the list of operations scheduled within this Job |
void |
RemoveJobListEntry(int nIndex)
Removes an existing operation from this Job's list |
boolean |
ResumeJob()
- OBSELETE, Functionality moved to automation server agents - Launches a previously suspended job. |
boolean |
SaveCheckpoint()
- OBSELETE, Functionality moved to automation server agents - A method used by the server to trigger suspension like action. |
void |
SetDeleteWhenDone(boolean Value)
Sets a boolean indicating whether the Job object will be automatically removed upon completion. |
void |
SetSettings(int Value,
int pvValue)
Sets an int corresponding to a PT_JOB_SETTINGS determining runtimes, timeouts, and logging levels |
void |
SetSettings(int Value,
com.plumtree.openfoundation.util.XPDateTime pvValue)
Sets an XPDateTime corresponding to a PT_JOB_SETTINGS determining runtimes or timeouts |
void |
SetStatus(int Value)
- OBSELETE, Functionality moved to automation server agents - Sets an int corresponding to a PT_JOBSTATUS indicating the state of the job (running, interrupted, failed, suspended, etc.) |
boolean |
SuspendJob()
- OBSELETE, Functionality moved to agents - Forces running job to serialize its state at the next checkpoint. |
| Methods inherited from interface com.plumtree.server.IPTObject |
GetAdminFolderID, GetClassID, GetCreated, GetImageUUID, GetLastModified, GetObjectProperties, SetAdminFolderID, SetImageUUID, SetLastModified |
| Methods inherited from interface com.plumtree.server.IPTLocalizable |
GetDescription, GetIsLocalized, GetLocalizedDescription, GetLocalizedDescriptions, GetLocalizedName, GetLocalizedNames, GetName, GetPrimaryLang, GetSupportsLocalization, SetDescription, SetIsLocalized, SetLocalizedDescriptions, SetLocalizedNames, SetName, SetPrimaryLang |
| Methods inherited from interface com.plumtree.server.IPTUnknown |
GetInterfaces |
| Method Detail |
public int GetSettingsAsInt(int JobSetting)
JobSetting - the requested PT_JOB_SETTINGS typepublic com.plumtree.openfoundation.util.XPDateTime GetSettingsAsXPDateTime(int JobSetting)
JobSetting - the requested PT_JOB_SETTINGS type
public void SetSettings(int Value,
int pvValue)
Value - PT_JOB_SETTINGS typepvValue - an int value for the requested job setting
public void SetSettings(int Value,
com.plumtree.openfoundation.util.XPDateTime pvValue)
Value - PT_JOB_SETTINGS typepvValue - an XPDateTime value for the requested job settingpublic IPTQueryResult QueryJobList()
public void AddJobListEntry(int nIndex,
int Class,
int ObjectID)
nIndex - the position of executionClass - the Class ID of the desired operationObjectID - the Object ID of the desiered operationpublic void RemoveJobListEntry(int nIndex)
nIndex - the index of the operation to be deletedpublic IPTSchedule GetSchedule()
public boolean GetDeleteWhenDone()
public void SetDeleteWhenDone(boolean Value)
Value - a boolean, if true, Job is deleted after executionpublic boolean GetIsSuspendable()
public boolean SuspendJob()
public boolean ResumeJob()
public boolean SaveCheckpoint()
public int GetStatus()
public void SetStatus(int Value)
Value - an int for PT_JOBSTATUS
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||