org.codehaus.mojo.keytool
Interface KeyToolResult

All Known Implementing Classes:
DefaultKeyToolResult

public interface KeyToolResult

Describes the result of a KeyTool invocation.

Since:
1.1
Version:
$Id: KeyToolResult.java 15796 2012-01-29 16:07:29Z tchemit $
Author:
tchemit

Method Summary
 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.
 

Method Detail

getCommandline

org.codehaus.plexus.util.cli.Commandline getCommandline()
Gets the command line used.

Returns:
The command line used

getExecutionException

org.codehaus.plexus.util.cli.CommandLineException getExecutionException()
Gets the exception that possibly occurred during the execution of the command line.

Returns:
The exception that prevented to invoke KeyTool or null if the command line was successfully processed by the operating system.

getExitCode

int getExitCode()
Gets the exit code from the KeyTool invocation. A non-zero value indicates a build failure.

Note: This value is undefined if getExecutionException() reports an exception.

Returns:
The exit code from the Jarsigner invocation.


Copyright © 2005-2012 Codehaus. All Rights Reserved.