org.apache.maven.shared.jarsigner
Interface JarSignerRequest

All Known Implementing Classes:
AbstractJarSignerRequest, JarSignerSignRequest, JarSignerVerifyRequest

public interface JarSignerRequest

Specifies the common parameters used to control a JarSigner tool invocation.

Since:
1.0
Version:
$Id: JarSignerRequest.java 1195496 2011-10-31 15:00:50Z olamy $
Author:
tchemit

Method Summary
 File getArchive()
          Gets the value of the archive field.
 String[] getArguments()
          Gets the value of the maxMemory field.
 String getMaxMemory()
          Gets the value of the maxMemory field.
 StreamConsumer getSystemErrorStreamConsumer()
          Gets the value of the systemErrorStreamConsumer field.
 StreamConsumer getSystemOutStreamConsumer()
          Gets the value of the systemOutStreamConsumer field.
 File getWorkingDirectory()
          Gets the value of the workingDirectory field.
 boolean isVerbose()
          Gets the value of the verbose field.
 void setArchive(File archive)
          Sets the new given value to the field archive of the request.
 void setArguments(String[] arguments)
          Sets the new given value to the field arguments of the request.
 void setMaxMemory(String maxMemory)
          Sets the new given value to the field maxMemory of the request.
 void setSystemErrorStreamConsumer(StreamConsumer systemErrorStreamConsumer)
          Sets the new given value to the field systemErrorStreamConsumer of the request.
 void setSystemOutStreamConsumer(StreamConsumer systemOutStreamConsumer)
          Sets the new given value to the field systemOutStreamConsumer of the request.
 void setVerbose(boolean verbose)
          Sets the new given value to the field verbose of the request.
 void setWorkingDirectory(File workingDirectory)
          Sets the new given value to the field workingDirectory of the request.
 

Method Detail

isVerbose

boolean isVerbose()
Gets the value of the verbose field.

Returns:
the value of the verbose field.

getMaxMemory

String getMaxMemory()
Gets the value of the maxMemory field.

Returns:
the value of the maxMemory field.

getArguments

String[] getArguments()
Gets the value of the maxMemory field.

Returns:
the value of the maxMemory field.

getWorkingDirectory

File getWorkingDirectory()
Gets the value of the workingDirectory field.

Returns:
the value of the workingDirectory field.

getArchive

File getArchive()
Gets the value of the archive field.

The archive field is in fact the file on which the jarsigner request will be executed.

Returns:
the value of the archive field.

getSystemOutStreamConsumer

StreamConsumer getSystemOutStreamConsumer()
Gets the value of the systemOutStreamConsumer field.

This option field if filled is used by the commandline tool to consume system ouput stream of the jarsigner command.

Returns:
the value of the systemOutStreamConsumer field.

getSystemErrorStreamConsumer

StreamConsumer getSystemErrorStreamConsumer()
Gets the value of the systemErrorStreamConsumer field.

This option field if filled is used by the commandline tool to consume system error stream of the jarsigner command.

Returns:
the value of the systemErrorStreamConsumer field.

setVerbose

void setVerbose(boolean verbose)
Sets the new given value to the field verbose of the request.

Parameters:
verbose - the new value of the field verbose.

setMaxMemory

void setMaxMemory(String maxMemory)
Sets the new given value to the field maxMemory of the request.

Parameters:
maxMemory - the new value of the field maxMemory.

setArguments

void setArguments(String[] arguments)
Sets the new given value to the field arguments of the request.

Parameters:
arguments - the new value of the field arguments.

setWorkingDirectory

void setWorkingDirectory(File workingDirectory)
Sets the new given value to the field workingDirectory of the request.

Parameters:
workingDirectory - the new value of the field workingDirectory.

setArchive

void setArchive(File archive)
Sets the new given value to the field archive of the request.

Parameters:
archive - the new value of the field archive.

setSystemOutStreamConsumer

void setSystemOutStreamConsumer(StreamConsumer systemOutStreamConsumer)
Sets the new given value to the field systemOutStreamConsumer of the request.

Parameters:
systemOutStreamConsumer - the new value of the field systemOutStreamConsumer.

setSystemErrorStreamConsumer

void setSystemErrorStreamConsumer(StreamConsumer systemErrorStreamConsumer)
Sets the new given value to the field systemErrorStreamConsumer of the request.

Parameters:
systemErrorStreamConsumer - the new value of the field systemErrorStreamConsumer.


Copyright © 2002-2011 The Apache Software Foundation. All Rights Reserved.