Rational Developer for Power Systems Software
V7.6

com.ibm.etools.iseries.services.qsys.commands
Class QSYSCommandService

java.lang.Object
  extended by AbstractService
      extended by com.ibm.etools.iseries.services.qsys.QSYSAbstractService
          extended by com.ibm.etools.iseries.services.qsys.commands.QSYSCommandService
All Implemented Interfaces:
IQSYSCommandService

public class QSYSCommandService
extends QSYSAbstractService
implements IQSYSCommandService

RSE service for access to the IBM i native file system (QSYS).


Field Summary
static String copyright
           
static String UTF8ENCODING
           
 
Fields inherited from class com.ibm.etools.iseries.services.qsys.QSYSAbstractService
sessionProvider
 
Constructor Summary
QSYSCommandService(IToolboxSessionProvider toolboxProvider)
          Constructor
 
Method Summary
 void associateIJob(String dataQName, IQSYSInteractiveJobStatusMonitor interactiveJobStatusMonitor)
           
 int debugReleaseHeldJob(String qualifiedJobName, String messageQueue, String messageKey)
           
 com.ibm.etools.iseries.services.qsys.internal.QSYSDebugHoldJobInfo debugSpawnAndHoldCommnad(String destinationName, String programName, String programParameters)
           
 int getDebugRouterPortNumberCommand()
          Get the port number that debug router is going to listen on
 IFSFile getNewFile(String prefix, String suffix)
          getNewFile() - determine a file name that does not exist in the user preferences directory
 String getUserPreferencesIFSDirectory()
          getUserPreferencesIFSDirectory() - returns directory on IFS where to store user settings
 Object[] handleCommand(String name, String commandString, String[] parameters, IQSYSBatchCommandMonitor commandMonitor)
           
 Object[] releaseIJob(String dataQName)
           
 void removeJobWatchers()
           
 Object[] spawnMultithreadedProgram(String command, boolean withHelp, IQSYSBatchCommandMonitor commandMonitor)
           
 
Methods inherited from class com.ibm.etools.iseries.services.qsys.QSYSAbstractService
handleError
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

copyright

public static String copyright

UTF8ENCODING

public static final String UTF8ENCODING
See Also:
Constant Field Values
Constructor Detail

QSYSCommandService

public QSYSCommandService(IToolboxSessionProvider toolboxProvider)
Constructor

Parameters:
toolboxProvider -
Method Detail

handleCommand

public Object[] handleCommand(String name,
                              String commandString,
                              String[] parameters,
                              IQSYSBatchCommandMonitor commandMonitor)

getDebugRouterPortNumberCommand

public int getDebugRouterPortNumberCommand()
Get the port number that debug router is going to listen on


getNewFile

public IFSFile getNewFile(String prefix,
                          String suffix)
getNewFile() - determine a file name that does not exist in the user preferences directory

Parameters:
String - prefix
String - suffix
Returns:
IFSFile file - does not exist

getUserPreferencesIFSDirectory

public String getUserPreferencesIFSDirectory()
getUserPreferencesIFSDirectory() - returns directory on IFS where to store user settings


associateIJob

public void associateIJob(String dataQName,
                          IQSYSInteractiveJobStatusMonitor interactiveJobStatusMonitor)

releaseIJob

public Object[] releaseIJob(String dataQName)

debugSpawnAndHoldCommnad

public com.ibm.etools.iseries.services.qsys.internal.QSYSDebugHoldJobInfo debugSpawnAndHoldCommnad(String destinationName,
                                                                                                   String programName,
                                                                                                   String programParameters)

spawnMultithreadedProgram

public Object[] spawnMultithreadedProgram(String command,
                                          boolean withHelp,
                                          IQSYSBatchCommandMonitor commandMonitor)

debugReleaseHeldJob

public int debugReleaseHeldJob(String qualifiedJobName,
                               String messageQueue,
                               String messageKey)

removeJobWatchers

public void removeJobWatchers()

Rational Developer for Power Systems Software
V7.6

Copyright © 2011 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.