iSeries Remote Systems
v6.0.1

com.ibm.etools.systems.as400jobsubsys
Interface IJobCategory

All Known Implementing Classes:
JobCategoryImpl

public interface IJobCategory

This interface represents a handle to a remote command, which is either a transient command or a command shell.


Field Summary
static String Copyright
           
 
Method Summary
 void addJob(Object output)
          Add an output object to the list of output for this command
 void addJobs(Object[] output)
           
 Object[] getChildren()
          Get the list of output objects for this command.
 int getChildrenNumber()
           
 String getJobSubsys()
           
 String getName()
          Gets the name of the command shell or command that is being run.
 Object getParent()
           
 com.ibm.etools.systems.subsystems.SubSystem getSubSystem()
           
 String getType()
          Gets the type of the command shell or command that is being run.
 boolean hasChild()
           
 void setJobs(Object[] jobs)
           
 void setParent(Object parent)
           
 

Field Detail

Copyright

public static final String Copyright
See Also:
Constant Field Values
Method Detail

getName

public String getName()
Gets the name of the command shell or command that is being run.

Returns:
the name of the command

getType

public String getType()
Gets the type of the command shell or command that is being run. The type may either be a "Shell" or a "Command".

Returns:
the type of the command

getJobSubsys

public String getJobSubsys()

getChildren

public Object[] getChildren()
Get the list of output objects for this command.

Returns:
the list of output objects

getChildrenNumber

public int getChildrenNumber()

hasChild

public boolean hasChild()

getParent

public Object getParent()

setParent

public void setParent(Object parent)

getSubSystem

public com.ibm.etools.systems.subsystems.SubSystem getSubSystem()

setJobs

public void setJobs(Object[] jobs)

addJob

public void addJob(Object output)
Add an output object to the list of output for this command

Parameters:
output - the output object to add

addJobs

public void addJobs(Object[] output)

iSeries Remote Systems
v6.0.1

Copyright © 2005 IBM Corp. All Rights Reserved.

Note: This documentation is for part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.