Class OeconsolZosConsoleCommandImpl
java.lang.Object
dev.galasa.zosconsole.oeconsol.manager.OeconsolZosConsoleCommandImpl
- All Implemented Interfaces:
IZosConsoleCommand
Implementation of
IZosConsoleCommand using oeconsol-
Constructor Summary
ConstructorsConstructorDescriptionOeconsolZosConsoleCommandImpl(IZosUNIXCommand zosUnixCommand, String oeconsolPath, String imageId, String command, String consoleName, ICredentials credentials) -
Method Summary
Modifier and TypeMethodDescriptionprotected StringbuildCommand(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:IZosConsoleCommandReturn the immediate response message from a console command- Specified by:
getResponsein interfaceIZosConsoleCommand- Returns:
- the response String
- Throws:
ZosConsoleException
-
requestResponse
Description copied from interface:IZosConsoleCommandReturn the delayed response message from the current console command. May be called multiple times- Specified by:
requestResponsein interfaceIZosConsoleCommand- Returns:
- the response string
- Throws:
ZosConsoleException
-
getCommand
Description copied from interface:IZosConsoleCommandReturn the command- Specified by:
getCommandin interfaceIZosConsoleCommand- Returns:
- the command String
-
buildCommand
-