Package net.webpdf.wsclient.openapi
Class AdminExecutableResult
- java.lang.Object
-
- net.webpdf.wsclient.openapi.AdminExecutableResult
-
public class AdminExecutableResult extends Object
The result of a used executable application.
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_APPLICATION_NAMEstatic StringJSON_PROPERTY_COMMAND_LINEstatic StringJSON_PROPERTY_CONSOLE_OUTPUTstatic StringJSON_PROPERTY_EXIT_CODEstatic StringJSON_PROPERTY_IS_SUCCESSFULstatic StringJSON_PROPERTY_MESSAGE
-
Constructor Summary
Constructors Constructor Description AdminExecutableResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AdminExecutableResultaddCommandLineItem(String commandLineItem)AdminExecutableResultaddConsoleOutputItem(String consoleOutputItem)AdminExecutableResultapplicationName(String applicationName)AdminExecutableResultcommandLine(List<String> commandLine)AdminExecutableResultconsoleOutput(List<String> consoleOutput)booleanequals(Object o)AdminExecutableResultexitCode(Integer exitCode)@Nullable StringgetApplicationName()The name of the executed application.@Nullable List<String>getCommandLine()The commandline output created by the executed application.@Nullable List<String>getConsoleOutput()The console output created by the executed application.@Nullable IntegergetExitCode()The application specific exit code.@Nullable BooleangetIsSuccessful()When set to true, the execution has been successful.@Nullable StringgetMessage()A message summarizing the execution result.inthashCode()AdminExecutableResultisSuccessful(Boolean isSuccessful)AdminExecutableResultmessage(String message)voidsetApplicationName(String applicationName)voidsetCommandLine(List<String> commandLine)voidsetConsoleOutput(List<String> consoleOutput)voidsetExitCode(Integer exitCode)voidsetIsSuccessful(Boolean isSuccessful)voidsetMessage(String message)StringtoString()
-
-
-
Field Detail
-
JSON_PROPERTY_APPLICATION_NAME
public static final String JSON_PROPERTY_APPLICATION_NAME
- See Also:
- Constant Field Values
-
JSON_PROPERTY_COMMAND_LINE
public static final String JSON_PROPERTY_COMMAND_LINE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_CONSOLE_OUTPUT
public static final String JSON_PROPERTY_CONSOLE_OUTPUT
- See Also:
- Constant Field Values
-
JSON_PROPERTY_EXIT_CODE
public static final String JSON_PROPERTY_EXIT_CODE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_IS_SUCCESSFUL
public static final String JSON_PROPERTY_IS_SUCCESSFUL
- See Also:
- Constant Field Values
-
JSON_PROPERTY_MESSAGE
public static final String JSON_PROPERTY_MESSAGE
- See Also:
- Constant Field Values
-
-
Method Detail
-
applicationName
public AdminExecutableResult applicationName(String applicationName)
-
getApplicationName
@Nullable public @Nullable String getApplicationName()
The name of the executed application.- Returns:
- applicationName
-
setApplicationName
public void setApplicationName(String applicationName)
-
commandLine
public AdminExecutableResult commandLine(List<String> commandLine)
-
addCommandLineItem
public AdminExecutableResult addCommandLineItem(String commandLineItem)
-
getCommandLine
@Nullable public @Nullable List<String> getCommandLine()
The commandline output created by the executed application.- Returns:
- commandLine
-
consoleOutput
public AdminExecutableResult consoleOutput(List<String> consoleOutput)
-
addConsoleOutputItem
public AdminExecutableResult addConsoleOutputItem(String consoleOutputItem)
-
getConsoleOutput
@Nullable public @Nullable List<String> getConsoleOutput()
The console output created by the executed application.- Returns:
- consoleOutput
-
exitCode
public AdminExecutableResult exitCode(Integer exitCode)
-
getExitCode
@Nullable public @Nullable Integer getExitCode()
The application specific exit code. This is not a webPDF error code and is defined by the called application itself.- Returns:
- exitCode
-
setExitCode
public void setExitCode(Integer exitCode)
-
isSuccessful
public AdminExecutableResult isSuccessful(Boolean isSuccessful)
-
getIsSuccessful
@Nullable public @Nullable Boolean getIsSuccessful()
When set to true, the execution has been successful.- Returns:
- isSuccessful
-
setIsSuccessful
public void setIsSuccessful(Boolean isSuccessful)
-
message
public AdminExecutableResult message(String message)
-
getMessage
@Nullable public @Nullable String getMessage()
A message summarizing the execution result.- Returns:
- message
-
setMessage
public void setMessage(String message)
-
-