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
- Author:
- tchemit
-
-
Constructor Summary
Constructors Constructor Description AbstractKeyToolRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String[]getArguments()Gets the value of themaxMemoryfield.FilegetWorkingDirectory()Gets the value of theworkingDirectoryfield.booleanisVerbose()Gets the value of theverbosefield.voidsetArguments(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(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
-
-
-
-
Method Detail
-
isVerbose
public boolean isVerbose()
Gets the value of theverbosefield.- Specified by:
isVerbosein interfaceKeyToolRequest- Returns:
- a boolean
-
getArguments
public String[] getArguments()
Gets the value of themaxMemoryfield.- Specified by:
getArgumentsin interfaceKeyToolRequest- Returns:
- an array of
Stringobjects
-
getWorkingDirectory
public File getWorkingDirectory()
Gets the value of theworkingDirectoryfield.- Specified by:
getWorkingDirectoryin interfaceKeyToolRequest- Returns:
- a
Fileobject
-
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(String[] arguments)
Sets the new given value to the fieldargumentsof the request.- Specified by:
setArgumentsin interfaceKeyToolRequest- Parameters:
arguments- an array ofStringobjects
-
setWorkingDirectory
public void setWorkingDirectory(File workingDirectory)
Sets the new given value to the fieldworkingDirectoryof the request.- Specified by:
setWorkingDirectoryin interfaceKeyToolRequest- Parameters:
workingDirectory- the new value of the fieldworkingDirectory.
-
-