org.codehaus.mojo.keytool
Interface KeyToolRequest

All Known Subinterfaces:
KeyToolRequestWithKeyStoreAndAliasParameters, KeyToolRequestWithKeyStoreParameters
All Known Implementing Classes:
AbstractKeyToolRequest, AbstractKeyToolRequestWithKeyStoreAndAliasParameters, AbstractKeyToolRequestWithKeyStoreParameters, KeyToolChangeAliasRequest, KeyToolChangeKeyPasswordRequest, KeyToolChangeStorePasswordRequest, KeyToolDeleteRequest, KeyToolExportCertificateRequest, KeyToolGenerateCertificateRequest, KeyToolGenerateCertificateRequestRequest, KeyToolGenerateKeyPairRequest, KeyToolGenerateSecretKeyRequest, KeyToolImportCertificateRequest, KeyToolImportKeystoreRequest, KeyToolListRequest, KeyToolPrintCertificateRequest, KeyToolPrintCertificateRequestRequest, KeyToolPrintCRLFileRequest

public interface KeyToolRequest

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

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

Method Summary
 String[] getArguments()
          Gets the value of the maxMemory field.
 org.codehaus.plexus.util.cli.StreamConsumer getSystemErrorStreamConsumer()
          Gets the value of the systemErrorStreamConsumer field.
 org.codehaus.plexus.util.cli.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 setArguments(String[] arguments)
          Sets the new given value to the field arguments of the request.
 void setSystemErrorStreamConsumer(org.codehaus.plexus.util.cli.StreamConsumer systemErrorStreamConsumer)
          Sets the new given value to the field systemErrorStreamConsumer of the request.
 void setSystemOutStreamConsumer(org.codehaus.plexus.util.cli.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.

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.

getSystemOutStreamConsumer

org.codehaus.plexus.util.cli.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

org.codehaus.plexus.util.cli.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.

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.

setSystemOutStreamConsumer

void setSystemOutStreamConsumer(org.codehaus.plexus.util.cli.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(org.codehaus.plexus.util.cli.StreamConsumer systemErrorStreamConsumer)
Sets the new given value to the field systemErrorStreamConsumer of the request.

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


Copyright © 2005-2012 Codehaus. All Rights Reserved.