Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.ibm.jzos
Interface MvsCommandCallback

    public interface MvsCommandCallback

Implement this interface to control how MVS operator commands are handled. The implementing class must be registered with a call to `registerMvsCommandCallback`

The parameters supplied on the MVS START command, if any are also available via `getStartParameters`

Method Summary
`void` | `handleModify(java.lang.String modifyCommand)` Handle an MVS MODIFY (F) command.
`void` | `handleStart(java.lang.String startParameters)` Handle an MVS START (S) command.
`boolean` | `handleStop()` Handle an MVS STOP (P) command.

Method Detail

### handleModify

    void handleModify(java.lang.String modifyCommand)

  Handle an MVS MODIFY (F) command.

  Parameters:
    `modifyCommand` - the modify command supplied by the operator

### handleStart

    void handleStart(java.lang.String startParameters)

  Handle an MVS START (S) command. Note that the START command will have already been issued by the time this callback is registered. Therefore, this method will fire immediately upon registration. This method can be used to obtain the start parameters.

  Parameters:
    `startParameters` - the start parameters supplied by the operator

### handleStop

    boolean handleStop()

  Handle an MVS STOP (P) command. If the implementation of this method returns true, a System.exit(0) call will be invoked. If false, no System.exit() will be performed.

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD