org.apache.maven.shared.jarsigner
Interface JarSignerResult

All Known Implementing Classes:
DefaultJarSignerResult

public interface JarSignerResult

Describes the result of a JarSigner invocation.

Since:
1.0
Version:
$Id: JarSignerResult.java 1190315 2011-10-28 13:43:28Z olamy $
Author:
tchemit

Method Summary
 Commandline getCommandline()
          Gets the command line used.
 CommandLineException getExecutionException()
          Gets the exception that possibly occurred during the execution of the command line.
 int getExitCode()
          Gets the exit code from the JarSigner invocation.
 

Method Detail

getCommandline

Commandline getCommandline()
Gets the command line used.

Returns:
The command line used

getExecutionException

CommandLineException getExecutionException()
Gets the exception that possibly occurred during the execution of the command line.

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

getExitCode

int getExitCode()
Gets the exit code from the JarSigner 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 © 2002-2011 The Apache Software Foundation. All Rights Reserved.