Class AbstractKeyToolRequest
- java.lang.Object
-
- org.apache.maven.shared.utils.cli.javatool.AbstractJavaToolRequest
-
- org.codehaus.mojo.keytool.requests.AbstractKeyToolRequest
-
- All Implemented Interfaces:
org.apache.maven.shared.utils.cli.javatool.JavaToolRequest,KeyToolRequest
- Direct Known Subclasses:
AbstractKeyToolRequestWithKeyStoreParameters,KeyToolImportKeystoreRequest,KeyToolPrintCertificateRequest,KeyToolPrintCertificateRequestRequest,KeyToolPrintCRLFileRequest
public abstract class AbstractKeyToolRequest extends org.apache.maven.shared.utils.cli.javatool.AbstractJavaToolRequest implements KeyToolRequest
Specifies the commons parameters used to control a key tool invocation.- Since:
- 1.1
- Version:
- $Id$
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.String[]argumentsList of additional arguments to append to the jarsigner command line.private booleanverboseVerbose output.private java.io.FileworkingDirectoryLocation of the working directory.
-
Constructor Summary
Constructors Constructor Description AbstractKeyToolRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String[]getArguments()Gets the value of themaxMemoryfield.java.io.FilegetWorkingDirectory()Gets the value of theworkingDirectoryfield.booleanisVerbose()Gets the value of theverbosefield.voidsetArguments(java.lang.String[] arguments)Sets the new given value to the fieldargumentsof the request.voidsetVerbose(boolean verbose)Sets the new given value to the fieldverboseof the request.voidsetWorkingDirectory(java.io.File workingDirectory)Sets the new given value to the fieldworkingDirectoryof the request.-
Methods inherited from class org.apache.maven.shared.utils.cli.javatool.AbstractJavaToolRequest
getSystemErrorStreamConsumer, getSystemOutStreamConsumer, setSystemErrorStreamConsumer, setSystemOutStreamConsumer
-
-
-
-
Field Detail
-
verbose
private boolean verbose
Verbose output. See options.
-
arguments
private java.lang.String[] arguments
List of additional arguments to append to the jarsigner command line.
-
workingDirectory
private java.io.File workingDirectory
Location of the working directory.
-
-
Method Detail
-
isVerbose
public boolean isVerbose()
Gets the value of theverbosefield.- Specified by:
isVerbosein interfaceKeyToolRequest- Returns:
- the value of the
verbosefield.
-
getArguments
public java.lang.String[] getArguments()
Gets the value of themaxMemoryfield.- Specified by:
getArgumentsin interfaceKeyToolRequest- Returns:
- the value of the
maxMemoryfield.
-
getWorkingDirectory
public java.io.File getWorkingDirectory()
Gets the value of theworkingDirectoryfield.- Specified by:
getWorkingDirectoryin interfaceKeyToolRequest- Returns:
- the value of the
workingDirectoryfield.
-
setVerbose
public void setVerbose(boolean verbose)
Sets the new given value to the fieldverboseof the request.- Specified by:
setVerbosein interfaceKeyToolRequest- Parameters:
verbose- the new value of the fieldverbose.
-
setArguments
public void setArguments(java.lang.String[] arguments)
Sets the new given value to the fieldargumentsof the request.- Specified by:
setArgumentsin interfaceKeyToolRequest- Parameters:
arguments- the new value of the fieldarguments.
-
setWorkingDirectory
public void setWorkingDirectory(java.io.File workingDirectory)
Sets the new given value to the fieldworkingDirectoryof the request.- Specified by:
setWorkingDirectoryin interfaceKeyToolRequest- Parameters:
workingDirectory- the new value of the fieldworkingDirectory.
-
-