Package com.uc4.api.objects
Class AttributesGCOS8
java.lang.Object
com.uc4.api.objects.AttributesGCOS8
- All Implemented Interfaces:
IHostAttributes
Host attributes for GCOS 8.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintReturns the number of fields in the host attributes.getIdent()Returns the name for the $ IDENT statement.Returns the path and name of a file containing a Job.getSnumb()Returns the sequence number of the Job.intReturns the priority with which the Job should be executed.booleanReturns whether the Job report transfered to the Automation Engine database.booleanReturnstrueif the Job report will be stored only in case of Job interruption.booleanReturnstrueif the Job report is stored in the file system on the target system.voidload(com.uc4.util.XMLDocument doc, Element hostAttr, ConnectionAttributes info) Loads the host attributes.name()Returns the host attributes name.voidSets the name for the $ IDENT statementidentmust not contain more than 63 characters.voidsetIncludeJob(String includeJob) Sets the path and name of a file containing a Job.voidsetReportDatabase(boolean reportDatabase) Sets whether the Job report should be transfered to the database.voidsetReportErrorOnly(boolean reportErrorOnly) Sets whether the Job report should be stored only in case of Job interruption.voidsetReportFile(boolean reportFile) Sets whether the Job report should be stored in the file system on the target system.voidSets the sequence number of the Job.voidsetUrgency(int urgency) Specification of the priority with which the Job should be executed.voidstore(com.uc4.util.XMLDocument doc, Element objectElement, ConnectionAttributes info) Writes the host attributes back to theXMLDocument.
-
Constructor Details
-
AttributesGCOS8
public AttributesGCOS8()
-
-
Method Details
-
load
Description copied from interface:IHostAttributesLoads the host attributes.- Specified by:
loadin interfaceIHostAttributes- Parameters:
doc- XML Document containing the JobhostAttr- Element which contains host attributesinfo- Session details
-
store
Description copied from interface:IHostAttributesWrites the host attributes back to theXMLDocument.- Specified by:
storein interfaceIHostAttributes- Parameters:
doc- DocumentobjectElement- ObjectElementinfo- Session details
-
isReportDatabase
public boolean isReportDatabase()Returns whether the Job report transfered to the Automation Engine database.- Returns:
trueif the Job report is transfered to the databasefalseotherwise
-
setReportDatabase
public void setReportDatabase(boolean reportDatabase) Sets whether the Job report should be transfered to the database.- Parameters:
reportDatabase-trueif the job report should be transfered to the databasefalseotherwise
-
isReportErrorOnly
public boolean isReportErrorOnly()Returnstrueif 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.- Returns:
trueif the job report is stored only in case of Job interruption
-
setReportErrorOnly
public void setReportErrorOnly(boolean reportErrorOnly) Sets whether the Job report should be stored only in case of Job interruption. This function is only available when "Database" and/or "File" have been selected.- Parameters:
reportErrorOnly-trueif the job report should be stored only in case of Job interruption
-
isReportFile
public boolean isReportFile()Returnstrueif the Job report is stored in the file system on the target system.- Returns:
trueif the job report is stored in the file system.
-
setReportFile
public void setReportFile(boolean reportFile) Sets whether the Job report should be stored in the file system on the target system.- Parameters:
reportFile-trueif the job report should be stored in the file system
-
getIdent
Returns the name for the $ IDENT statement.- Returns:
- IDENT statement
-
setIdent
Sets the name for the $ IDENT statementidentmust not contain more than 63 characters.- Parameters:
ident- IDENT statement
-
getIncludeJob
Returns the path and name of a file containing a Job.- Returns:
- path to job
-
setIncludeJob
Sets the path and name of a file containing a Job.This Job is executed just before the Trailer is processed and must therefore not contain a $ ENDJOB statement!
includeJobmust not contain more than 255 characters.- Parameters:
includeJob- path to job
-
getSnumb
Returns the sequence number of the Job.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.
- Returns:
- sequence number
-
setSnumb
Sets the sequence number of the Job.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.- Parameters:
snumb- sequence number
-
getUrgency
public int getUrgency()Returns the priority with which the Job should be executed.- Returns:
- priority
-
setUrgency
public void setUrgency(int urgency) Specification of the priority with which the Job should be executed. A value between "0" and "63" may be entered.- Parameters:
urgency- priority
-
fieldCount
public int fieldCount()Description copied from interface:IHostAttributesReturns the number of fields in the host attributes.- Specified by:
fieldCountin interfaceIHostAttributes- Returns:
- number of fields
-
name
Description copied from interface:IHostAttributesReturns the host attributes name.- Specified by:
namein interfaceIHostAttributes- Returns:
- name
-