|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IPTJob
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. |
int |
GetLastStatus()
Returns an int corresponding to a PT_JOBSTATUS indicating the state of the job when it was run or is running last time. |
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 |
Methods inherited from interface com.plumtree.server.IPTServerContext |
---|
GetAccessLevel, GetACL, GetLastModifiedBy, GetLockState, GetObjectID, GetOwnerID, GetServerContextSettings, GetSession, GetSettings, LockObject, SetLastModifiedBy, SetObjectID, SetOwnerID, SetServerContextSettings, UnlockObject |
Methods inherited from interface com.plumtree.server.IPTStorable |
---|
Store |
Method Detail |
---|
int GetSettingsAsInt(int JobSetting)
JobSetting
- the requested PT_JOB_SETTINGS type
com.plumtree.openfoundation.util.XPDateTime GetSettingsAsXPDateTime(int JobSetting)
JobSetting
- the requested PT_JOB_SETTINGS type
void SetSettings(int Value, int pvValue)
SetSettings
in interface IPTServerContext
Value
- PT_JOB_SETTINGS typepvValue
- an int value for the requested job settingvoid SetSettings(int Value, com.plumtree.openfoundation.util.XPDateTime pvValue)
Value
- PT_JOB_SETTINGS typepvValue
- an XPDateTime value for the requested job settingIPTQueryResult QueryJobList()
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 operationvoid RemoveJobListEntry(int nIndex)
nIndex
- the index of the operation to be deletedIPTSchedule GetSchedule()
boolean GetDeleteWhenDone()
void SetDeleteWhenDone(boolean Value)
Value
- a boolean, if true, Job is deleted after executionboolean GetIsSuspendable()
boolean SuspendJob()
boolean ResumeJob()
boolean SaveCheckpoint()
int GetStatus()
void SetStatus(int Value)
Value
- an int for PT_JOBSTATUSint GetLastStatus()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |