Class OeconsolZosConsoleCommandImpl
java.lang.Object
dev.galasa.zosconsole.oeconsol.manager.OeconsolZosConsoleCommandImpl
- All Implemented Interfaces:
IZosConsoleCommand
Implementation of
IZosConsoleCommand
using oeconsol-
Constructor Summary
ConstructorDescriptionOeconsolZosConsoleCommandImpl
(IZosUNIXCommand zosUnixCommand, String oeconsolPath, String imageId, String command, String consoleName, ICredentials credentials) -
Method Summary
Modifier and TypeMethodDescriptionprotected String
buildCommand
(String command) Return the commandReturn the immediate response message from a console commandReturn the delayed response message from the current console command.
-
Constructor Details
-
OeconsolZosConsoleCommandImpl
public OeconsolZosConsoleCommandImpl(IZosUNIXCommand zosUnixCommand, String oeconsolPath, String imageId, String command, String consoleName, ICredentials credentials)
-
-
Method Details
-
issueCommand
- Throws:
ZosConsoleException
-
getResponse
Description copied from interface:IZosConsoleCommand
Return the immediate response message from a console command- Specified by:
getResponse
in interfaceIZosConsoleCommand
- Returns:
- the response String
- Throws:
ZosConsoleException
-
requestResponse
Description copied from interface:IZosConsoleCommand
Return the delayed response message from the current console command. May be called multiple times- Specified by:
requestResponse
in interfaceIZosConsoleCommand
- Returns:
- the response string
- Throws:
ZosConsoleException
-
getCommand
Description copied from interface:IZosConsoleCommand
Return the command- Specified by:
getCommand
in interfaceIZosConsoleCommand
- Returns:
- the command String
-
buildCommand
-