public class Job extends UC4Object implements LifecycleSaveAware
Constructor and Description |
---|
Job() |
Modifier and Type | Method and Description |
---|---|
void |
afterSaveObject()
Called after an object is saved.
|
JobAttributes |
attributes()
Returns the generic attributes of this job.
|
com.uc4.api.objects.ChildPostProcess |
getChildPostProcess()
Deprecated.
Will be removed in future version. Use getChildPostProcessScript() instead.
|
String |
getChildPostProcessScript()
Returns the content of the Child Post-Process Script.
|
String |
getPostProcess()
Returns the content of the Post Process tab.
|
String |
getPreProcess()
Returns the content of the Pre Process tab.
|
String |
getProcess()
Returns the content of the "Process" tab.
|
String |
getRAJobType()
Returns the Rapid Automation Job type or
null if this is not an RA Job. |
String |
getRASubJobType()
Returns the Rapid Automation Sub Job type or
null if this is not an RA Job. |
XHeader |
header()
Returns the header data of this object.
|
IHostAttributes |
hostAttributes()
Returns host specific attributes.
|
boolean |
isExecutable()
Returns
true if this Object can be executed. |
OCVPanel |
ocvValues()
This method provides access to the RA Job values.
|
OutputFiles |
outputFiles()
This method provides access to the registered output files of this Job definition.
|
OutputScan |
outputScan()
Returns an
OutputScan instance which represents the "Output Scan" tab of an 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(com.uc4.api.objects.ChildPostProcess childPostProcess)
Deprecated.
Will be removed in future version. Use setChildPostProcessScript(String) instead.
|
void |
setChildPostProcessScript(String childPostProcessScript)
Sets the content of the Child Post-Process Script.
|
void |
setPostProcess(String postScript)
Sets the content of the Post Process tab.
|
void |
setPreProcess(String preScript)
Sets the content of the Pre Process tab.
|
void |
setProcess(String script)
Sets the content of the "Process" tab.
|
SyncList |
syncs()
Returns a
SyncList object which contains sync conditions
of this object. |
ObjectValues |
values() |
public Rollback rollback()
public OCVPanel ocvValues()
null
.null
if this Job is not an RA Job.public OutputFiles outputFiles()
public String getRAJobType()
null
if this is not an RA Job.public String getRASubJobType()
null
if this is not an RA Job.public ObjectValues values()
public SyncList syncs()
SyncList
object which contains sync conditions
of this object.public OutputScan outputScan()
OutputScan
instance which represents the "Output Scan" tab of an Job.public XHeader header()
public JobAttributes attributes()
public IHostAttributes hostAttributes()
public Runtime runtime()
public String getProcess()
public void setProcess(String script)
script
- Scriptpublic void setPreProcess(String preScript)
preScript
- Pre Scriptpublic String getPreProcess()
public void setPostProcess(String postScript)
postScript
- Post scriptpublic String getPostProcess()
@Deprecated public com.uc4.api.objects.ChildPostProcess getChildPostProcess()
public String getChildPostProcessScript()
@Deprecated public void setChildPostProcess(com.uc4.api.objects.ChildPostProcess childPostProcess)
Calling this method is only allowed for SAP and PS Jobs.
If the Job type is not SAP or PS an IllegalStateException
is thrown.
childPostProcess
- Child Post scriptpublic void setChildPostProcessScript(String childPostProcessScript)
Calling this method is only allowed for SAP and PS Jobs. If the Job type is not
SAP or PS an IllegalStateException
is thrown.
childPostProcessScript
- child post process scriptpublic boolean isExecutable()
UC4Object
true
if this Object can be executed.isExecutable
in class UC4Object
public void afterSaveObject()
LifecycleSaveAware
afterSaveObject
in interface LifecycleSaveAware
Copyright © 2021. All rights reserved.