public class AttributesNSK extends Object implements IHostAttributes
| Constructor and Description |
|---|
AttributesNSK() |
| Modifier and Type | Method and Description |
|---|---|
int |
fieldCount()
Returns the number of fields in the host attributes.
|
int |
getCpu()
Returns the number of the CPU on which the Job should run or -1 if the system should selects a CPU.
|
int |
getPriority()
Returns the Job's priority.
|
String |
getVhTerm()
Returns the virual terminal.
|
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 |
isTypeNBEXEC()
Returns
true if the Job type is NetBatch - NBEXEC scripts. |
boolean |
isTypeOSS()
Returns
true if the Job type is OSS - UNIX commands (osh Shell). |
boolean |
isTypeTACL()
Returns
true if the Job type is Guardian - TACL commands. |
void |
load(com.uc4.util.XMLDocument doc,
Element hostAttr)
Loads the host attributes.
|
String |
name()
Returns the host attributes name.
|
void |
setCpu(int cpu)
Sets the number of the CPU on which the Job should run.
|
void |
setPriority(int priority)
Sets the Job's priority.
|
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 |
setTypeNBEXEC()
Sets the Job type for NetBatch - NBEXEC scripts.
|
void |
setTypeOSS()
Sets the Job type for OSS - UNIX commands (osh Shell).
|
void |
setTypeTACL()
Sets the Job type for Guardian - TACL commands.
|
void |
setVhTerm(String vhTerm)
Sets the virtual terminal.
|
void |
store(com.uc4.util.XMLDocument doc,
Element objectElement)
Writes the host attributes back to the
XMLDocument. |
public int fieldCount()
IHostAttributesfieldCount in interface IHostAttributespublic void load(com.uc4.util.XMLDocument doc,
Element hostAttr)
IHostAttributesload in interface IHostAttributesdoc - XML Document containing the JobhostAttr - Element which contains host attributespublic String name()
IHostAttributesname in interface IHostAttributespublic void store(com.uc4.util.XMLDocument doc,
Element objectElement)
IHostAttributesXMLDocument.store in interface IHostAttributesdoc - DocumentobjectElement - ObjectElementpublic String getVhTerm()
public void setVhTerm(String vhTerm)
Tandem file name comprising of a maximum of 26 alphanumeric characters and the separators \ $ . # and -. Inputs and outputs are made on this device. Therefore, no disk file may be specified as this might cause error messages. Physical or virtual terminals or the corresponding processes (e.g. subtype 30 processes) may be used instead. Use the keyword "none" to suppress the values defined in the INI file.
vhTerm - Virtual Terminalpublic int getCpu()
public void setCpu(int cpu)
cpu - CPU numberpublic int getPriority()
public void setPriority(int priority)
priority - Prioritypublic boolean isTypeNBEXEC()
true if the Job type is NetBatch - NBEXEC scripts.public void setTypeNBEXEC()
public boolean isTypeOSS()
true if the Job type is OSS - UNIX commands (osh Shell).public void setTypeOSS()
public void setTypeTACL()
public boolean isTypeTACL()
true if the Job type is Guardian - TACL commands.public 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 systemCopyright © 2021. All rights reserved.