zowe / zowe-client-java-sdk

Zowe Client Java SDK
Eclipse Public License 2.0
23 stars 8 forks source link

IssueConsole with command and isProcessRespsonse call #330

Open frankgiordano opened 8 months ago

frankgiordano commented 8 months ago

When performing a console call with console command only, response is returned with \r delimiter.

Normally, end user will set the isProcessResponse value within IssueConsoleParams so that \r is replaced with newline \n instead.

Setting IssueConsoleParams value is not possible when you only want to issue a console command only.

Give end user more choices and add the following methods:

public ConsoleResponse issueCommand(String command, boolean isProcessResponse) throws ZosmfRequestException {

public ConsoleResponse issueCommand(String command, String consoleName, boolean isProcessResponse) throws ZosmfRequestException {