public class AddJobPlanTask extends XMLRequest
Constructor and Description |
---|
AddJobPlanTask(UC4ObjectName objectName)
Constructs a
AddJobPlanTask using the specified UC4 Object name. |
AddJobPlanTask(UC4ObjectName objectName,
UC4Alias alias)
Constructs a
AddJobPlanTask using the specified UC4 Object name and alias. |
Modifier and Type | Method and Description |
---|---|
JobPlanTask |
getJobPlanTask()
Returns a JobPlan Task or
null if the task was not found. |
boolean |
isExternal()
Returns
true if this JobPlanTask is an external task. |
void |
setExternal(boolean external)
If
external is set to true an before the request is sent
the UC4 server returns an external JobPlan task. |
getAllMessageBoxes, getMessageBox, getRequestID, handleResponse, send
public AddJobPlanTask(UC4ObjectName objectName)
AddJobPlanTask
using the specified UC4 Object name.objectName
- Name of the UC4 Objectpublic AddJobPlanTask(UC4ObjectName objectName, UC4Alias alias)
AddJobPlanTask
using the specified UC4 Object name and alias.objectName
- Name of the UC4 Objectalias
- Aliaspublic boolean isExternal()
true
if this JobPlanTask
is an external task.
The method setExternal
can be used to add a task as an external dependency.JobPlanTask
is an external taskpublic void setExternal(boolean external)
external
is set to true
an before the request is sent
the UC4 server returns an external JobPlan task.external
- Boolean containing true
if the task should be added as external depencdencypublic JobPlanTask getJobPlanTask()
null
if the task was not found.null