RunBaseBatch.prompt Method

Displays the class's dialog and awaits user input.

public boolean prompt()

Run On

Called

Return Value

true if the user clicks OK in the dialog; otherwise, false.

Remarks

If the RunBase.canSwapBetweenCS and RunBase.canSwapBetweenCSPrim methods return true, the class is packed, sent to the client, unpacked, and the prompt is executed there. When the dialog is closed, the class is packed and returned to server where it is unpacked.

This method is called when

  • The user starts the class (typically from the main method)

  • The user wants to modify the settings of a queued batch job.

Note

You should not override this method.


See Also

RunBaseBatch Class