Rational Developer for Power Systems Software
V7.6

com.ibm.etools.iseries.subsystems.qsys.comm
Class InteractiveJobSystemMessageHelper

java.lang.Object
  extended by com.ibm.etools.iseries.subsystems.qsys.comm.InteractiveJobSystemMessageHelper
All Implemented Interfaces:
Runnable

public class InteractiveJobSystemMessageHelper
extends Object
implements Runnable

This is a specialized instance of SystemMessageDialog used with the interactive job support for iSeries systems. The dialog is displayed when the user chooses to run a program or command in the interactive job but one is not yet associated with the corresponding RSE connection (by using the CL command STRRSESVR.)

This dialog prompts the user with instructions on how to start and attach the interactive job. The dialog closes when either:


Nested Class Summary
 class InteractiveJobSystemMessageHelper.InteractiveJobSystemMessageDialog
           
 
Field Summary
static String copyright
           
 
Constructor Summary
InteractiveJobSystemMessageHelper(IHost connection, SystemMessage message, String[] buttons)
          Constructor
 
Method Summary
 int getButtonPressedId()
          Return the button that was pressed, or null if no button was pressed (the dialog went away because of an event.)
static InteractiveJobSystemMessageHelper getInteractiveJobBusyHelper(IHost connection)
          Get an instance of this class for the Interactive job busy dialog
static InteractiveJobSystemMessageHelper getInteractiveJobNotAvailableHelper(IHost connection)
          Get an instance of this class for the Interactive job not available dialog
 void run()
           
 
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

InteractiveJobSystemMessageHelper

public InteractiveJobSystemMessageHelper(IHost connection,
                                         SystemMessage message,
                                         String[] buttons)
Constructor

Method Detail

run

public void run()
Specified by:
run in interface Runnable
See Also:
Runnable.run()

getButtonPressedId

public int getButtonPressedId()
Return the button that was pressed, or null if no button was pressed (the dialog went away because of an event.)


getInteractiveJobNotAvailableHelper

public static InteractiveJobSystemMessageHelper getInteractiveJobNotAvailableHelper(IHost connection)
Get an instance of this class for the Interactive job not available dialog


getInteractiveJobBusyHelper

public static InteractiveJobSystemMessageHelper getInteractiveJobBusyHelper(IHost connection)
Get an instance of this class for the Interactive job busy dialog


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.