public class AttributesGCOS8 extends java.lang.Object implements IHostAttributes
Constructor and Description |
---|
AttributesGCOS8() |
Modifier and Type | Method and Description |
---|---|
int |
fieldCount()
Returns the number of fields in the host attributes.
|
java.lang.String |
getIdent()
Returns the name for the $ IDENT statement.
|
java.lang.String |
getIncludeJob()
Returns the path and name of a file containing a Job.
|
java.lang.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,
org.w3c.dom.Element hostAttr)
Loads the host attributes.
|
java.lang.String |
name()
Returns the host attributes name.
|
void |
setIdent(java.lang.String ident)
Sets the name for the $ IDENT statement
ident must not contain more than 63 characters. |
void |
setIncludeJob(java.lang.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(java.lang.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,
org.w3c.dom.Element objectElement)
Writes the host attributes back to the
XMLDocument . |
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 void store(com.uc4.util.XMLDocument doc, org.w3c.dom.Element objectElement)
IHostAttributes
XMLDocument
.store
in interface IHostAttributes
doc
- 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 java.lang.String getIdent()
public void setIdent(java.lang.String ident)
ident
must not contain more than 63 characters.ident
- IDENT statementpublic java.lang.String getIncludeJob()
public void setIncludeJob(java.lang.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 java.lang.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(java.lang.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()
IHostAttributes
fieldCount
in interface IHostAttributes
public java.lang.String name()
IHostAttributes
name
in interface IHostAttributes