Package zowe.client.sdk.zostso.lifecycle
Class StartTso
- java.lang.Object
-
- zowe.client.sdk.zostso.lifecycle.StartTso
-
public class StartTso extends Object
Start TSO address space and receive servlet key- Version:
- 2.0
- Author:
- Frank Giordano
-
-
Constructor Summary
Constructors Constructor Description StartTso(ZosConnection connection)StartTso constructorStartTso(ZosConnection connection, ZoweRequest request)Alternative StartTso constructor with ZoweRequest object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StartStopResponsesstart(String accountNumber, StartTsoParams params)Start TSO address space with provided parameters.ZosmfTsoResponsestartCommon(StartTsoParams commandParams)Start TSO address space with provided parameters
-
-
-
Constructor Detail
-
StartTso
public StartTso(ZosConnection connection)
StartTso constructor- Parameters:
connection- connection information, see ZOSConnection object
-
StartTso
public StartTso(ZosConnection connection, ZoweRequest request) throws Exception
Alternative StartTso constructor with ZoweRequest object. This is mainly used for internal code unit testing with mockito, and it is not recommended to be used by the larger community.- Parameters:
connection- connection information, see ZOSConnection objectrequest- any compatible ZoweRequest Interface object- Throws:
Exception- processing error
-
-
Method Detail
-
start
public StartStopResponses start(String accountNumber, StartTsoParams params) throws Exception
Start TSO address space with provided parameters.- Parameters:
accountNumber- this key of StartTsoParams required, because it cannot be default.params- optional object with required parameters, see StartTsoParams- Returns:
- command response on resolve, @see IStartStopResponses
- Throws:
Exception- error executing command
-
startCommon
public ZosmfTsoResponse startCommon(StartTsoParams commandParams) throws Exception
Start TSO address space with provided parameters- Parameters:
commandParams- object with required parameters, see StartTsoParams- Returns:
- z/OSMF response object, see ZosmfTsoResponse
- Throws:
Exception- error executing command
-
-