public class AttributesGCOS8 extends Object implements IHostAttributes
| Constructor and Description |
|---|
AttributesGCOS8() |
| Modifier and Type | Method and Description |
|---|---|
int |
fieldCount()
Returns the number of fields in the host attributes.
|
String |
getIdent()
Returns the name for the $ IDENT statement.
|
String |
getIncludeJob()
Returns the path and name of a file containing a Job.
|
String |
getSnumb()
Returns the sequence number of the Job.
|
int |
getUrgency()
Returns the priority with which the Job should be executed.
|
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. |
void |
load(com.uc4.util.XMLDocument doc,
Element hostAttr)
Loads the host attributes.
|
String |
name()
Returns the host attributes name.
|
void |
setIdent(String ident)
Sets the name for the $ IDENT statement
ident must not contain more than 63 characters. |
void |
setIncludeJob(String includeJob)
Sets the path and name of a file containing a 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 |
setSnumb(String snumb)
Sets the sequence number of the Job.
|
void |
setUrgency(int urgency)
Specification of the priority with which the Job should be executed.
|
void |
store(com.uc4.util.XMLDocument doc,
Element objectElement)
Writes the host attributes back to the
XMLDocument. |
public void load(com.uc4.util.XMLDocument doc,
Element hostAttr)
IHostAttributesload in interface IHostAttributesdoc - XML Document containing the JobhostAttr - Element which contains host attributespublic void store(com.uc4.util.XMLDocument doc,
Element objectElement)
IHostAttributesXMLDocument.store in interface IHostAttributesdoc - DocumentobjectElement - ObjectElementpublic boolean isReportDatabase()
true if the Job report is transfered to the database false otherwisepublic 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 systempublic String getIdent()
public void setIdent(String ident)
ident must not contain more than 63 characters.ident - IDENT statementpublic String getIncludeJob()
public void setIncludeJob(String includeJob)
This Job is executed just before the Trailer is processed and must therefore not contain a $ ENDJOB statement!
includeJob must not contain more than 255 characters.includeJob - path to jobpublic String getSnumb()
If no particular number has been specified, it is created automatically. The Agent's INI file contains the parameter SNUMB_SUFFIX which may be used to define the appended character.
public void setSnumb(String snumb)
If no particular number has been specified, it is created automatically. The Agent's INI file contains the parameter SNUMB_SUFFIX which may be used to define the appended character.
The parameter will be converted to upper case. The length must not exceed 5 characters.snumb - sequence numberpublic int getUrgency()
public void setUrgency(int urgency)
urgency - prioritypublic int fieldCount()
IHostAttributesfieldCount in interface IHostAttributespublic String name()
IHostAttributesname in interface IHostAttributesCopyright © 2021. All rights reserved.