Rational Developer for Power Systems Software
V7.6

com.ibm.etools.iseries.rse.util.clprompter
Class QSYSCLPrompter

java.lang.Object
  extended by com.ibm.etools.iseries.rse.util.clprompter.QSYSCLPrompter
All Implemented Interfaces:
IQSYSPrompter

public class QSYSCLPrompter
extends Object
implements IQSYSPrompter


Nested Class Summary
protected  class QSYSCLPrompter.RunnableCommandPrompter
          Inner class used to run CommandPrompter on a different non-UI thread if requried.
 
Field Summary
static String Copyright
           
 
Constructor Summary
QSYSCLPrompter()
           
 
Method Summary
 int getCLReturnCode()
           
 String promptCommand(String command)
           
 String promptCommand(String command, boolean usePromptOverrideProgram)
           
 String promptCommand(String command, boolean usePromptOverrideProgram, boolean execute)
           
 String quote(int type, String string)
           
 void setConnection(IBMiConnection connection)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

Copyright

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

QSYSCLPrompter

public QSYSCLPrompter()
Method Detail

setConnection

public void setConnection(IBMiConnection connection)
Specified by:
setConnection in interface IQSYSPrompter

promptCommand

public String promptCommand(String command)
Specified by:
promptCommand in interface IQSYSPrompter

promptCommand

public String promptCommand(String command,
                            boolean usePromptOverrideProgram)
Specified by:
promptCommand in interface IQSYSPrompter

promptCommand

public String promptCommand(String command,
                            boolean usePromptOverrideProgram,
                            boolean execute)
Specified by:
promptCommand in interface IQSYSPrompter

getCLReturnCode

public int getCLReturnCode()
Specified by:
getCLReturnCode in interface IQSYSPrompter

quote

public String quote(int type,
                    String string)
             throws SystemMessageException
Specified by:
quote in interface IQSYSPrompter
Throws:
SystemMessageException

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.