public class AttributesRA extends java.lang.Object implements IHostAttributes
Constructor and Description |
---|
AttributesRA() |
Modifier and Type | Method and Description |
---|---|
int |
fieldCount()
Returns the number of fields in the host attributes.
|
boolean |
isAgentLog() |
boolean |
isReportDatabase()
Returns whether the Job report transfered to the Automation Engine database.
|
boolean |
isReportErrorOnly()
Returns
true if the Job report will be stored only in case of Job interruption. |
boolean |
isReportFile()
Returns
true if the Job report is stored in the file system
on the target system. |
boolean |
isRequestTaskParameter()
Returns the value of the runtime option "Request task parameters".
|
void |
load(com.uc4.util.XMLDocument doc,
org.w3c.dom.Element hostAttr)
Loads the host attributes.
|
java.lang.String |
name()
Returns the host attributes name.
|
void |
setAgentLog(boolean agentLog)
Sets the Agent Process Log for this SAP Job.
|
void |
setReportDatabase(boolean reportDatabase)
Sets whether the Job report should be transfered to the database.
|
void |
setReportErrorOnly(boolean reportErrorOnly)
Sets whether the Job report should be stored only in case of Job interruption.
|
void |
setReportFile(boolean reportFile)
Sets whether the Job report should be stored in the file system on the target system.
|
void |
setRequestTaskParameter(boolean requestTaskParameter)
Sets the value of the runtime option "Request task parameters".
|
void |
store(com.uc4.util.XMLDocument doc,
org.w3c.dom.Element objectElement)
Writes the host attributes back to the
XMLDocument . |
public int fieldCount()
IHostAttributes
fieldCount
in interface IHostAttributes
public void load(com.uc4.util.XMLDocument doc, org.w3c.dom.Element hostAttr)
IHostAttributes
load
in interface IHostAttributes
doc
- XML Document containing the JobhostAttr
- Element which contains host attributespublic java.lang.String name()
IHostAttributes
name
in interface IHostAttributes
public void store(com.uc4.util.XMLDocument doc, org.w3c.dom.Element objectElement)
IHostAttributes
XMLDocument
.store
in interface IHostAttributes
doc
- DocumentobjectElement
- ObjectElementpublic boolean isAgentLog()
public void setAgentLog(boolean agentLog)
agentLog
- true if the Log should be transferedpublic boolean isReportDatabase()
true
if the Job report is transfered to the database false
otherwisepublic boolean isRequestTaskParameter()
public void setRequestTaskParameter(boolean requestTaskParameter)
requestTaskParameter
- true if the task parameters should be shown when the object is executedpublic void setReportDatabase(boolean reportDatabase)
reportDatabase
- true
if the job report should be transfered
to the database false
otherwisepublic boolean isReportErrorOnly()
true
if the Job report will be stored only in case of Job interruption.
This function is only available when "Database" and/or "File" have been selected.true
if the job report is stored only in case of Job interruptionpublic void setReportErrorOnly(boolean reportErrorOnly)
reportErrorOnly
- true
if the job report should be stored
only in case of Job interruptionpublic boolean isReportFile()
true
if the Job report is stored in the file system
on the target system.true
if the job report is stored in the file system.public void setReportFile(boolean reportFile)
reportFile
- true
if the job report should be stored in the file system