public class JobAttributes
extends java.lang.Object
Constructor and Description |
---|
JobAttributes(com.uc4.util.XMLDocument doc,
boolean isMonitor)
Constructs a
JobAttributes using the specified XML document. |
Modifier and Type | Method and Description |
---|---|
UC4ObjectName |
getCodeName()
Returns the name of the CodeTable.
|
int |
getConsumption() |
DeactivateCondition |
getDeactivate()
Returns the deactivate condition for this Job.
|
ExtendedReports |
getExtendedReports()
Returns the setting for extended reports.
|
UC4HostName |
getHost()
Returns the name of the Agent for this job.
|
java.lang.String |
getHostType()
Returns the host typ of this job.
|
java.lang.String |
getIntAccount()
Returns the internal account assigned to this Job.
|
UC4ObjectName |
getLogin()
Returns the name of the login object assigned to this job.
|
int |
getPriority()
Priority with which this Job should be executed in UC4.
|
UC4ObjectName |
getQueue()
Returns the Queue Object.
|
UC4ObjectName |
getStartType()
Returns the start type of this Job.
|
UC4TimezoneName |
getTimezone()
Returns the TimeZone that is to be used.
|
boolean |
isAttributeDialog()
Returns
true if the attribut dialog should be displayed when the
job is activated. |
boolean |
isGenerateAtRuntime()
Returns
true if the Job should not be generated at activation time but rather at runtime. |
MaxParallel |
maxParallel()
Returns settings for parallel tasks.
|
void |
setAttributeDialog(boolean value)
Sets or clears the attribut dialog check box.
|
void |
setCodeName(UC4ObjectName codeTable)
Sets the name of the CodeTable.
|
void |
setConsumption(int consumption)
Sets the consumption value for this Job.
|
void |
setDeactivate(DeactivateCondition deactivate)
Sets the deactivate condition for this Job.
|
void |
setExtendedReports(ExtendedReports extendedReports)
Sets the option for extended reports.
|
void |
setGenerateAtRuntime(boolean value)
Sets or clears the Generate at runtime check box.
|
void |
setHost(UC4HostName host)
Sets the Agent or AgentGroup for this Job.
|
void |
setIntAccount(java.lang.String intAccount)
Sets the internal account, max.
|
void |
setLogin(UC4ObjectName loginObject)
Sets the name of the login object.
|
void |
setPriority(int priority)
Priority with which this Job should be executed in UC4.
|
void |
setQueue(UC4ObjectName queue)
Sets the Queue that will be used when this object is executed.
|
void |
setStartType(UC4ObjectName startType)
Sets the start type of this Job.
|
void |
setTimezone(UC4TimezoneName timezone)
Sets the TimeZone for this job.
|
protected void |
store(com.uc4.util.XMLDocument doc,
org.w3c.dom.Element request)
Stores the content of this job under the
request element. |
public JobAttributes(com.uc4.util.XMLDocument doc, boolean isMonitor)
JobAttributes
using the specified XML document.doc
- XML documentisMonitor
- isMonitor defines whether attributes is of monitor or of an object.public UC4ObjectName getCodeName()
public java.lang.String getHostType()
public DeactivateCondition getDeactivate()
public void setDeactivate(DeactivateCondition deactivate)
deactivate
- Deactivate conditionpublic UC4HostName getHost()
public java.lang.String getIntAccount()
public int getConsumption()
public void setConsumption(int consumption)
consumption
must be between 0 and 100000.consumption
- Consumptionpublic UC4ObjectName getLogin()
public UC4ObjectName getStartType()
public void setCodeName(UC4ObjectName codeTable)
codeTable
- CodeTablepublic void setHost(UC4HostName host)
host
- Hostpublic void setIntAccount(java.lang.String intAccount)
intAccount
- internal accountpublic void setLogin(UC4ObjectName loginObject)
loginObject
- login objectpublic void setStartType(UC4ObjectName startType)
startType
- Start typepublic boolean isAttributeDialog()
true
if the attribut dialog should be displayed when the
job is activated. The attribut dialog is sent as a READ form.
The INotificationListener
can be used to listen for READ forms.true
if the attribut dialog should be displayedpublic boolean isGenerateAtRuntime()
true
if the Job should not be generated at activation time but rather at runtime.true
if the Generate at runtime check box is selectedpublic void setAttributeDialog(boolean value)
value
is true
the check box is set.value
- boolean value indicating if the attribut dialog should be shownpublic MaxParallel maxParallel()
public void setGenerateAtRuntime(boolean value)
value
is true
the check box is set.value
- Generate at runtimepublic int getPriority()
public void setPriority(int priority)
priority
- Prioritypublic UC4TimezoneName getTimezone()
public void setTimezone(UC4TimezoneName timezone)
timezone
- TimeZonepublic UC4ObjectName getQueue()
public void setQueue(UC4ObjectName queue)
queue
- Name of the Queue Objectprotected void store(com.uc4.util.XMLDocument doc, org.w3c.dom.Element request)
request
element.doc
- XML documentrequest
- the newly created elements are children of the request
elementpublic ExtendedReports getExtendedReports()
public void setExtendedReports(ExtendedReports extendedReports)
extendedReports
- Extended reports.