public class VJob extends java.lang.Object implements VNode, java.io.Serializable
Most errors are reported as ErrorEvents rather than throwing exceptions. Users should listen for ErrorEvents in order to diagnose and recover from error conditions.
VJob objects generate the following events:
Modifier and Type | Field and Description |
---|---|
static java.lang.Object |
BREAK_MESSAGE_HANDLING_PROPERTY
Deprecated.
Property identifier for the break message handling.
|
static java.lang.Object |
CCSID_PROPERTY
Deprecated.
Property identifier for the coded character set identifier.
|
static java.lang.Object |
COMPLETION_STATUS_PROPERTY
Deprecated.
Property identifier for the completion status.
|
static java.lang.Object |
COUNTRY_ID_PROPERTY
Deprecated.
Property identifier for the country identifier.
|
static java.lang.Object |
CPUUSED_PROPERTY
Deprecated.
Property identifier for the CPU used.
|
static java.lang.Object |
CURRENT_LIBRARY_EXISTENCE_PROPERTY
Deprecated.
Property identifier for the current library existence.
|
static java.lang.Object |
CURRENT_LIBRARY_PROPERTY
Deprecated.
Property identifier for the current library if one exists.
|
static java.lang.Object |
DATE_FORMAT_PROPERTY
Deprecated.
Property identifier for the date format.
|
static java.lang.Object |
DATE_JOB_BECAME_ACTIVE_PROPERTY
Deprecated.
Property identifier for the date and time the job become active.
|
static java.lang.Object |
DATE_JOB_ENTERED_SYSTEM_PROPERTY
Deprecated.
Property identifier for the date and time the job entered system.
|
static java.lang.Object |
DATE_JOB_SCHEDULE_TO_RUN_PROPERTY
Deprecated.
Property identifier for the date and time the job is scheduled to run.
|
static java.lang.Object |
DATE_PROPERTY
Deprecated.
Property identifier for the date.
|
static java.lang.Object |
DATE_PUT_ON_JOB_QUEUE_PROPERTY
Deprecated.
Property identifier for the date and time the job was put on this job queue.
|
static java.lang.Object |
DATE_SEPARATOR_PROPERTY
Deprecated.
Property identifier for the date separator.
|
static java.lang.Object |
DDM_CONVERSATION_HANDLING_PROPERTY
Deprecated.
Property identifier for the DDM conversation handling.
|
static java.lang.Object |
DECIMAL_FORMAT_PROPERTY
Deprecated.
Property identifier for the decimal format.
|
static java.lang.Object |
DEFAULT_CCSID_PROPERTY
Deprecated.
Property identifier for the default coded character set identifier.
|
static java.lang.Object |
DEVICE_RECOVERY_ACTION_PROPERTY
Deprecated.
Property identifier for the device recovery action.
|
static java.lang.Object |
END_SEVERITY_PROPERTY
Deprecated.
Property identifier for the end severity.
|
static java.lang.Object |
FUNCTION_PROPERTY
Deprecated.
Property identifier for the function.
|
static java.lang.Object |
INQUIRY_MESSAGE_REPLY_PROPERTY
Deprecated.
Property identifier for the inquiry message reply.
|
static java.lang.Object |
JOB_ACCOUNTING_CODE_PROPERTY
Deprecated.
Property identifier for the job accounting code.
|
static java.lang.Object |
JOB_DATE_PROPERTY
Deprecated.
Property identifier for the job date.
|
static java.lang.Object |
JOB_DESCRIPTION_PROPERTY
Deprecated.
Property identifier for the job description.
|
static java.lang.Object |
JOB_MESSAGE_QUEUE_FULL_ACTION_PROPERTY
Deprecated.
Property identifier for the job message queue action.
|
static java.lang.Object |
JOB_MESSAGE_QUEUE_MAXIMUM_SIZE_PROPERTY
Deprecated.
Property identifier for the job message maximum size.
|
static java.lang.Object |
JOB_QUEUE_PRIORITY_PROPERTY
Deprecated.
Property identifier for the job queue priority.
|
static java.lang.Object |
JOB_QUEUE_PROPERTY
Deprecated.
Property identifier for the job queue.
|
static java.lang.Object |
JOB_SWITCHES_PROPERTY
Deprecated.
Property identifier for the job switches.
|
static java.lang.Object |
LANGUAGE_ID_PROPERTY
Deprecated.
Property identifier for the language identifier.
|
static java.lang.Object |
LOGGING_CL_PROGRAMS_PROPERTY
Deprecated.
Property identifier for the logging of CL programs .
|
static java.lang.Object |
LOGGING_LEVEL_PROPERTY
Deprecated.
Property identifier for the logging level.
|
static java.lang.Object |
LOGGING_SEVERITY_PROPERTY
Deprecated.
Property identifier for the logging severity.
|
static java.lang.Object |
LOGGING_TEXT_PROPERTY
Deprecated.
Property identifier for the logging text.
|
static java.lang.Object |
MODE_NAME_PROPERTY
Deprecated.
Property identifier for the mode name.
|
static java.lang.Object |
NUMBER_OF_LIBRARIES_IN_SYSLIBL_PROPERTY
Deprecated.
Property identifier for the number of libraries in SYSLIBL.
|
static java.lang.Object |
NUMBER_OF_LIBRARIES_IN_USRLIBL_PROPERTY
Deprecated.
Property identifier for the number of libraries in USRLIBL.
|
static java.lang.Object |
NUMBER_OF_PRODUCT_LIBRARIES_PROPERTY
Deprecated.
Property identifier for the number of product libaries.
|
static java.lang.Object |
NUMBER_PROPERTY
Deprecated.
Property identifier for the number.
|
static java.lang.Object |
OUTPUT_QUEUE_PRIORITY_PROPERTY
Deprecated.
Property identifier for the output queue priority.
|
static java.lang.Object |
OUTPUT_QUEUE_PROPERTY
Deprecated.
Property identifier for the output queue.
|
static java.lang.Object |
PRINT_KEY_FORMAT_PROPERTY
Deprecated.
Property identifier for the print key format.
|
static java.lang.Object |
PRINT_TEXT_PROPERTY
Deprecated.
Property identifier for the print text.
|
static java.lang.Object |
PRINTER_DEVICE_NAME_PROPERTY
Deprecated.
Property identifier for the printer device name.
|
static java.lang.Object |
PRODUCT_LIBRARIES_PROPERTY
Deprecated.
Property identifier for the product libraries if they exist.
|
static java.lang.Object |
ROUTING_DATA_PROPERTY
Deprecated.
Property identifier for the routing data.
|
static java.lang.Object |
SIGNED_ON_JOB_PROPERTY
Deprecated.
Property identifier for the signed-on job.
|
static java.lang.Object |
SORT_SEQUENCE_TABLE_PROPERTY
Deprecated.
Property identifier for the sort sequence table.
|
static java.lang.Object |
STATUS_MESSAGE_HANDLING_PROPERTY
Deprecated.
Property identifier for the status message handling.
|
static java.lang.Object |
STATUS_OF_JOB_ON_JOB_QUEUE_PROPERTY
Deprecated.
Property identifier for the status of the job on the job queue.
|
static java.lang.Object |
STATUS_PROPERTY
Deprecated.
Property identifier for the status.
|
static java.lang.Object |
SUBSYSTEM_PROPERTY
Deprecated.
Property identifier for the subsystem.
|
static java.lang.Object |
SUBTYPE_PROPERTY
Deprecated.
Property identifier for the subtype.
|
static java.lang.Object |
SYSTEM_LIBRARY_LIST_PROPERTY
Deprecated.
Property identifier for the system library list (for each library in the list).
|
static java.lang.Object |
TIME_SEPARATOR_PROPERTY
Deprecated.
Property identifier for the time separator.
|
static java.lang.Object |
TYPE_PROPERTY
Deprecated.
Property identifier for the type.
|
static java.lang.Object |
USER_LIBRARY_LIST_PROPERTY
Deprecated.
Property identifier for the user library list
|
static java.lang.Object |
USER_PROPERTY
Deprecated.
Property identifier for the user.
|
static java.lang.Object |
WORK_ID_UNIT_PROPERTY
Deprecated.
Property identifier for the unit of work identifier.
|
DESCRIPTION_PROPERTY, NAME_PROPERTY
Constructor and Description |
---|
VJob()
Deprecated.
Constructs a VJob object.
|
VJob(AS400 system,
Job job)
Deprecated.
Constructs a VJob object.
|
VJob(AS400 system,
RJob job)
Deprecated.
Constructs a VJob object.
|
VJob(VNode parent,
AS400 system,
Job job)
Deprecated.
Constructs a VJob object.
|
VJob(VNode parent,
AS400 system,
RJob job)
Deprecated.
Constructs a VJob object.
|
Modifier and Type | Method and Description |
---|---|
void |
addErrorListener(ErrorListener listener)
Deprecated.
Adds a listener to be notified when an error occurs.
|
void |
addPropertyChangeListener(java.beans.PropertyChangeListener listener)
Deprecated.
Adds a listener to be notified when the value of any
bound property changes.
|
void |
addVetoableChangeListener(java.beans.VetoableChangeListener listener)
Deprecated.
Adds a listener to be notified when the value of any
constrained property changes.
|
void |
addVObjectListener(VObjectListener listener)
Deprecated.
Adds a listener to be notified when a VObject is changed,
created, or deleted.
|
void |
addWorkingListener(WorkingListener listener)
Deprecated.
Adds a listener to be notified when work starts and stops
on potentially long-running operations.
|
java.util.Enumeration |
children()
Deprecated.
Returns the children of the node.
|
VAction[] |
getActions()
Deprecated.
Returns the list of actions that can be performed.
|
boolean |
getAllowsChildren()
Deprecated.
Indiciates if the node allows children.
|
javax.swing.tree.TreeNode |
getChildAt(int index)
Deprecated.
Returns the child node at the specified index.
|
int |
getChildCount()
Deprecated.
Returns the number of children.
|
VAction |
getDefaultAction()
Deprecated.
Returns the default action.
|
VObject |
getDetailsChildAt(int index)
Deprecated.
Returns the child for the details at the specified index.
|
int |
getDetailsChildCount()
Deprecated.
Returns the number of children for the details.
|
javax.swing.table.TableColumnModel |
getDetailsColumnModel()
Deprecated.
Returns the table column model to use in the details
when representing the children.
|
int |
getDetailsIndex(VObject detailsChild)
Deprecated.
Returns the index of the specified child for the details.
|
javax.swing.Icon |
getIcon(int size,
boolean open)
Deprecated.
Returns the icon.
|
int |
getIndex(javax.swing.tree.TreeNode child)
Deprecated.
Returns the index of the specified child.
|
Job |
getJob()
Deprecated.
Returns the job.
|
javax.swing.tree.TreeNode |
getParent()
Deprecated.
Returns the parent node.
|
VPropertiesPane |
getPropertiesPane()
Deprecated.
Returns the properties pane.
|
java.lang.Object |
getPropertyValue(java.lang.Object propertyIdentifier)
Deprecated.
Returns a property value.
|
RJob |
getRJob()
Deprecated.
Returns the job.
|
AS400 |
getSystem()
Deprecated.
Returns the system on which the job resides.
|
java.lang.String |
getText()
Deprecated.
Returns the text.
|
boolean |
isLeaf()
Deprecated.
Indicates if the node is a leaf.
|
boolean |
isSortable()
Deprecated.
Indicates if the details children are sortable.
|
void |
load()
Deprecated.
Loads information about the object from the system.
|
void |
removeErrorListener(ErrorListener listener)
Deprecated.
Removes an error listener.
|
void |
removePropertyChangeListener(java.beans.PropertyChangeListener listener)
Deprecated.
Removes a property change listener.
|
void |
removeVetoableChangeListener(java.beans.VetoableChangeListener listener)
Deprecated.
Removes a vetoable change listener.
|
void |
removeVObjectListener(VObjectListener listener)
Deprecated.
Removes a VObjectListener.
|
void |
removeWorkingListener(WorkingListener listener)
Deprecated.
Removes a working listener.
|
void |
setJob(Job job)
Deprecated.
Sets the job.
|
void |
setRJob(RJob job)
Deprecated.
Sets the job.
|
void |
setSystem(AS400 system)
Deprecated.
Sets the system on which the job resides.
|
void |
sortDetailsChildren(java.lang.Object[] propertyIdentifiers,
boolean[] orders)
Deprecated.
Sorts the children for the details.
|
java.lang.String |
toString()
Deprecated.
Returns the string representation of the job name.
|
public static final java.lang.Object BREAK_MESSAGE_HANDLING_PROPERTY
public static final java.lang.Object CCSID_PROPERTY
public static final java.lang.Object COMPLETION_STATUS_PROPERTY
public static final java.lang.Object COUNTRY_ID_PROPERTY
public static final java.lang.Object CPUUSED_PROPERTY
public static final java.lang.Object CURRENT_LIBRARY_EXISTENCE_PROPERTY
public static final java.lang.Object CURRENT_LIBRARY_PROPERTY
public static final java.lang.Object DATE_FORMAT_PROPERTY
public static final java.lang.Object DATE_JOB_BECAME_ACTIVE_PROPERTY
public static final java.lang.Object DATE_JOB_ENTERED_SYSTEM_PROPERTY
public static final java.lang.Object DATE_JOB_SCHEDULE_TO_RUN_PROPERTY
public static final java.lang.Object DATE_PROPERTY
public static final java.lang.Object DATE_PUT_ON_JOB_QUEUE_PROPERTY
public static final java.lang.Object DATE_SEPARATOR_PROPERTY
public static final java.lang.Object DDM_CONVERSATION_HANDLING_PROPERTY
public static final java.lang.Object DECIMAL_FORMAT_PROPERTY
public static final java.lang.Object DEFAULT_CCSID_PROPERTY
public static final java.lang.Object DEVICE_RECOVERY_ACTION_PROPERTY
public static final java.lang.Object END_SEVERITY_PROPERTY
public static final java.lang.Object FUNCTION_PROPERTY
public static final java.lang.Object INQUIRY_MESSAGE_REPLY_PROPERTY
public static final java.lang.Object JOB_ACCOUNTING_CODE_PROPERTY
public static final java.lang.Object JOB_DATE_PROPERTY
public static final java.lang.Object JOB_DESCRIPTION_PROPERTY
public static final java.lang.Object JOB_MESSAGE_QUEUE_FULL_ACTION_PROPERTY
public static final java.lang.Object JOB_MESSAGE_QUEUE_MAXIMUM_SIZE_PROPERTY
public static final java.lang.Object JOB_QUEUE_PRIORITY_PROPERTY
public static final java.lang.Object JOB_QUEUE_PROPERTY
public static final java.lang.Object JOB_SWITCHES_PROPERTY
public static final java.lang.Object LANGUAGE_ID_PROPERTY
public static final java.lang.Object LOGGING_CL_PROGRAMS_PROPERTY
public static final java.lang.Object LOGGING_LEVEL_PROPERTY
public static final java.lang.Object LOGGING_SEVERITY_PROPERTY
public static final java.lang.Object LOGGING_TEXT_PROPERTY
public static final java.lang.Object MODE_NAME_PROPERTY
public static final java.lang.Object NUMBER_PROPERTY
public static final java.lang.Object NUMBER_OF_LIBRARIES_IN_SYSLIBL_PROPERTY
public static final java.lang.Object NUMBER_OF_LIBRARIES_IN_USRLIBL_PROPERTY
public static final java.lang.Object NUMBER_OF_PRODUCT_LIBRARIES_PROPERTY
public static final java.lang.Object OUTPUT_QUEUE_PRIORITY_PROPERTY
public static final java.lang.Object OUTPUT_QUEUE_PROPERTY
public static final java.lang.Object PRINT_KEY_FORMAT_PROPERTY
public static final java.lang.Object PRINT_TEXT_PROPERTY
public static final java.lang.Object PRINTER_DEVICE_NAME_PROPERTY
public static final java.lang.Object PRODUCT_LIBRARIES_PROPERTY
public static final java.lang.Object ROUTING_DATA_PROPERTY
public static final java.lang.Object SIGNED_ON_JOB_PROPERTY
public static final java.lang.Object SORT_SEQUENCE_TABLE_PROPERTY
public static final java.lang.Object STATUS_OF_JOB_ON_JOB_QUEUE_PROPERTY
public static final java.lang.Object STATUS_MESSAGE_HANDLING_PROPERTY
public static final java.lang.Object STATUS_PROPERTY
public static final java.lang.Object SUBSYSTEM_PROPERTY
public static final java.lang.Object SUBTYPE_PROPERTY
public static final java.lang.Object SYSTEM_LIBRARY_LIST_PROPERTY
public static final java.lang.Object TIME_SEPARATOR_PROPERTY
public static final java.lang.Object TYPE_PROPERTY
public static final java.lang.Object WORK_ID_UNIT_PROPERTY
public static final java.lang.Object USER_LIBRARY_LIST_PROPERTY
public static final java.lang.Object USER_PROPERTY
public VJob()
public VJob(AS400 system, Job job)
system
- The system on which the job resides.job
- The job.public VJob(AS400 system, RJob job)
system
- The system on which the job resides.job
- The job.public VJob(VNode parent, AS400 system, Job job)
parent
- The parent.system
- The system on which the job resides.job
- The job.public void addErrorListener(ErrorListener listener)
addErrorListener
in interface VObject
listener
- The listener.public void addPropertyChangeListener(java.beans.PropertyChangeListener listener)
listener
- The listener.public void addVetoableChangeListener(java.beans.VetoableChangeListener listener)
listener
- The listener.public void addVObjectListener(VObjectListener listener)
addVObjectListener
in interface VObject
listener
- The listener.public void addWorkingListener(WorkingListener listener)
addWorkingListener
in interface VObject
listener
- The listener.public java.util.Enumeration children()
children
in interface javax.swing.tree.TreeNode
public VAction[] getActions()
getActions
in interface VObject
public boolean getAllowsChildren()
getAllowsChildren
in interface javax.swing.tree.TreeNode
public javax.swing.tree.TreeNode getChildAt(int index)
getChildAt
in interface javax.swing.tree.TreeNode
index
- The index.public int getChildCount()
getChildCount
in interface javax.swing.tree.TreeNode
public VAction getDefaultAction()
getDefaultAction
in interface VObject
public VObject getDetailsChildAt(int index)
getDetailsChildAt
in interface VNode
index
- The index.public int getDetailsChildCount()
getDetailsChildCount
in interface VNode
public javax.swing.table.TableColumnModel getDetailsColumnModel()
getDetailsColumnModel
in interface VNode
VObject.getPropertyValue(java.lang.Object)
public int getDetailsIndex(VObject detailsChild)
getDetailsIndex
in interface VNode
detailsChild
- The details child.public javax.swing.Icon getIcon(int size, boolean open)
public int getIndex(javax.swing.tree.TreeNode child)
getIndex
in interface javax.swing.tree.TreeNode
child
- The child.public Job getJob()
public RJob getRJob()
public javax.swing.tree.TreeNode getParent()
getParent
in interface javax.swing.tree.TreeNode
public VPropertiesPane getPropertiesPane()
getPropertiesPane
in interface VObject
public java.lang.Object getPropertyValue(java.lang.Object propertyIdentifier)
getPropertyValue
in interface VObject
propertyIdentifier
- The property identifier. The choices are
public AS400 getSystem()
public java.lang.String getText()
public boolean isLeaf()
isLeaf
in interface javax.swing.tree.TreeNode
public boolean isSortable()
isSortable
in interface VNode
public void load()
public void removeErrorListener(ErrorListener listener)
removeErrorListener
in interface VObject
listener
- The listener.public void removePropertyChangeListener(java.beans.PropertyChangeListener listener)
listener
- The listener.public void removeVetoableChangeListener(java.beans.VetoableChangeListener listener)
listener
- The listener.public void removeVObjectListener(VObjectListener listener)
removeVObjectListener
in interface VObject
listener
- The listener.public void removeWorkingListener(WorkingListener listener)
removeWorkingListener
in interface VObject
listener
- The listener.public void setJob(Job job) throws java.beans.PropertyVetoException
job
- The job.java.beans.PropertyVetoException
- If the change is vetoed.public void setRJob(RJob job) throws java.beans.PropertyVetoException
job
- The job.java.beans.PropertyVetoException
- If the change is vetoed.public void setSystem(AS400 system) throws java.beans.PropertyVetoException
system
- The system on which the job resides.java.beans.PropertyVetoException
- If the change is vetoed.public void sortDetailsChildren(java.lang.Object[] propertyIdentifiers, boolean[] orders)
sortDetailsChildren
in interface VNode
propertyIdentifiers
- The property identifiers.orders
- The sort orders for each property
identifier. true for ascending order;
false for descending order.public java.lang.String toString()
toString
in class java.lang.Object