public class Job extends UC4Object
Constructor and Description |
---|
Job() |
Modifier and Type | Method and Description |
---|---|
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.
|
java.lang.String |
getChildPostProcessScript()
Returns the content of the Child Post-Process Script.
|
java.lang.String |
getPostProcess()
Returns the content of the Post Process tab.
|
java.lang.String |
getPreProcess()
Returns the content of the Pre Process tab.
|
java.lang.String |
getProcess()
Returns the content of the "Process" tab.
|
java.lang.String |
getRAJobType()
Returns the Rapid Automation Job type or
null if this is not an RA Job. |
java.lang.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(java.lang.String childPostProcessScript)
Sets the content of the Child Post-Process Script.
|
void |
setPostProcess(java.lang.String postScript)
Sets the content of the Post Process tab.
|
void |
setPreProcess(java.lang.String preScript)
Sets the content of the Pre Process tab.
|
void |
setProcess(java.lang.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 java.lang.String getRAJobType()
null
if this is not an RA Job.public java.lang.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 java.lang.String getProcess()
public void setProcess(java.lang.String script)
script
- Scriptpublic void setPreProcess(java.lang.String preScript)
preScript
- Pre Scriptpublic java.lang.String getPreProcess()
public void setPostProcess(java.lang.String postScript)
postScript
- Post scriptpublic java.lang.String getPostProcess()
@Deprecated public com.uc4.api.objects.ChildPostProcess getChildPostProcess()
public java.lang.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(java.lang.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