public class ExecutionResult
extends java.lang.Object
| Constructor and Description |
|---|
ExecutionResult(java.lang.String code,
java.lang.Object result,
java.util.Map<joptsimple.OptionSpec<?>,java.util.List<?>> options)
Result of a command line operation.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getCode()
Gets the result code of an Execution result
|
java.util.Map<joptsimple.OptionSpec<?>,java.util.List<?>> |
getOptions()
Gets the option list for the operation
|
java.lang.Object |
getResult()
Gets the result of an Execution result
|
public ExecutionResult(java.lang.String code,
java.lang.Object result,
java.util.Map<joptsimple.OptionSpec<?>,java.util.List<?>> options)
code - OK | ERRORresult - Output data returned by the executed command line operation.options - List of input options entered for the operationpublic java.lang.String getCode()
public java.lang.Object getResult()
public java.util.Map<joptsimple.OptionSpec<?>,java.util.List<?>> getOptions()