public class DefaultKeyToolResult extends Object implements KeyToolResult
| Modifier and Type | Method and Description |
|---|---|
org.codehaus.plexus.util.cli.Commandline |
getCommandline()
Gets the command line used.
|
org.codehaus.plexus.util.cli.CommandLineException |
getExecutionException()
Gets the exception that possibly occurred during the execution of the command line.
|
int |
getExitCode()
Gets the exit code from the KeyTool invocation.
|
public int getExitCode()
KeyToolResult.getExecutionException() reports an exception.getExitCode in interface KeyToolResultpublic org.codehaus.plexus.util.cli.Commandline getCommandline()
getCommandline in interface KeyToolResultpublic org.codehaus.plexus.util.cli.CommandLineException getExecutionException()
getExecutionException in interface KeyToolResultnull if the command line was successfully
processed by the operating system.Copyright © 2012-2013 Codehaus. All Rights Reserved.