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[]
arguments
List of additional arguments to append to the jarsigner command line.private boolean
verbose
Verbose output.private java.io.File
workingDirectory
Location 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 themaxMemory
field.java.io.File
getWorkingDirectory()
Gets the value of theworkingDirectory
field.boolean
isVerbose()
Gets the value of theverbose
field.void
setArguments(java.lang.String[] arguments)
Sets the new given value to the fieldarguments
of the request.void
setVerbose(boolean verbose)
Sets the new given value to the fieldverbose
of the request.void
setWorkingDirectory(java.io.File workingDirectory)
Sets the new given value to the fieldworkingDirectory
of 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 theverbose
field.- Specified by:
isVerbose
in interfaceKeyToolRequest
- Returns:
- the value of the
verbose
field.
-
getArguments
public java.lang.String[] getArguments()
Gets the value of themaxMemory
field.- Specified by:
getArguments
in interfaceKeyToolRequest
- Returns:
- the value of the
maxMemory
field.
-
getWorkingDirectory
public java.io.File getWorkingDirectory()
Gets the value of theworkingDirectory
field.- Specified by:
getWorkingDirectory
in interfaceKeyToolRequest
- Returns:
- the value of the
workingDirectory
field.
-
setVerbose
public void setVerbose(boolean verbose)
Sets the new given value to the fieldverbose
of the request.- Specified by:
setVerbose
in interfaceKeyToolRequest
- Parameters:
verbose
- the new value of the fieldverbose
.
-
setArguments
public void setArguments(java.lang.String[] arguments)
Sets the new given value to the fieldarguments
of the request.- Specified by:
setArguments
in interfaceKeyToolRequest
- Parameters:
arguments
- the new value of the fieldarguments
.
-
setWorkingDirectory
public void setWorkingDirectory(java.io.File workingDirectory)
Sets the new given value to the fieldworkingDirectory
of the request.- Specified by:
setWorkingDirectory
in interfaceKeyToolRequest
- Parameters:
workingDirectory
- the new value of the fieldworkingDirectory
.
-
-