Package com.uc4.api.objects
Class SAPQueueManager
- java.lang.Object
-
- com.uc4.api.objects.UC4Object
-
- com.uc4.api.objects.SAPQueueManager
-
- All Implemented Interfaces:
LifecycleSaveAware
public class SAPQueueManager extends UC4Object implements LifecycleSaveAware
RemoteTaskManager for SAP ABAP Jobs.
-
-
Constructor Summary
Constructors Constructor Description SAPQueueManager()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
afterSaveObject()
Called after an object is saved.QueueManagerAttributes
attributes()
Access to the attributes of the QueueManager.SAPQueueManagerFilter
filter()
Access to the SAP Queue Manager filters.java.lang.String
getChildPostProcess()
Returns the content of the Child Post-Process tab.java.lang.String
getPostProcess()
Returns the content of the Post Process tab.java.lang.String
getProcess()
Returns the content of the "Process" tab.XHeader
header()
Returns the header data of this object.boolean
isExecutable()
Returnstrue
if this Object can be executed.protected void
loadContent(com.uc4.util.XMLDocument doc, ConnectionAttributes session)
OutputScan
outputScan()
Returns anOutputScan
instance which represents the "Output Scan" tab of a Job.Rollback
rollback()
This method provides access to the rollback tab of an executable object.Runtime
runtime()
Returns runtime information of this job.void
setChildPostProcess(java.lang.String childPostProcess)
Sets the content of the Child Post-Process tab.void
setPostProcess(java.lang.String postScript)
Sets the content of the Post Process tab.void
setProcess(java.lang.String script)
Sets the content of the "Process" tab.protected void
storeContent(com.uc4.util.XMLDocument doc, org.w3c.dom.Element objectElement, ConnectionAttributes sessionInfo)
SyncList
syncs()
Returns aSyncList
object which contains sync conditions of this object.ObjectValues
values()
-
Methods inherited from class com.uc4.api.objects.UC4Object
docu, getAccess, getIdnr, getModCount, getName, getObjectClient, getType, isOldVersion, load, store, validate
-
-
-
-
Method Detail
-
loadContent
protected void loadContent(com.uc4.util.XMLDocument doc, ConnectionAttributes session)
-
storeContent
protected void storeContent(com.uc4.util.XMLDocument doc, org.w3c.dom.Element objectElement, ConnectionAttributes sessionInfo)
-
rollback
public Rollback rollback()
This method provides access to the rollback tab of an executable object.- Returns:
- Rollback settings
-
outputScan
public OutputScan outputScan()
Returns anOutputScan
instance which represents the "Output Scan" tab of a Job.- Returns:
- Output Scan
-
filter
public SAPQueueManagerFilter filter()
Access to the SAP Queue Manager filters.- Returns:
- Filter settings
-
attributes
public QueueManagerAttributes attributes()
Access to the attributes of the QueueManager. The return value can be used to modify settings on the "Attributes" tab.- Returns:
- QueueManager attributes
-
header
public XHeader header()
Returns the header data of this object. This is the information of the header tab in the dialog client.- Returns:
- header
-
syncs
public SyncList syncs()
Returns aSyncList
object which contains sync conditions of this object.- Returns:
- sync conditions
-
runtime
public Runtime runtime()
Returns runtime information of this job. This corresponds to the "Runtime" tab in the dialog client.- Returns:
- Runtime information
-
values
public ObjectValues values()
- Returns:
- Variables of this object
-
getChildPostProcess
public java.lang.String getChildPostProcess()
Returns the content of the Child Post-Process tab.- Returns:
- Child Post script
-
setChildPostProcess
public void setChildPostProcess(java.lang.String childPostProcess)
Sets the content of the Child Post-Process tab.- The script is processed for each individual child process.
- The script is processed immediately after the child process finishes.
- Parameters:
childPostProcess
- Child Post script
-
isExecutable
public boolean isExecutable()
Description copied from class:UC4Object
Returnstrue
if this Object can be executed.- Specified by:
isExecutable
in classUC4Object
- Returns:
- true if the Object can be executed, false if not.
-
getProcess
public java.lang.String getProcess()
Returns the content of the "Process" tab.- Returns:
- JCL
-
setProcess
public void setProcess(java.lang.String script)
Sets the content of the "Process" tab.- Parameters:
script
- Script
-
setPostProcess
public void setPostProcess(java.lang.String postScript)
Sets the content of the Post Process tab. The script commands stored in this tab are processed after the Job has ended.- Parameters:
postScript
- Post script
-
getPostProcess
public java.lang.String getPostProcess()
Returns the content of the Post Process tab.- Returns:
- Post script
-
afterSaveObject
public void afterSaveObject()
Description copied from interface:LifecycleSaveAware
Called after an object is saved.- Specified by:
afterSaveObject
in interfaceLifecycleSaveAware
-
-