Interface JarSignerRequest
- All Superinterfaces:
org.apache.maven.shared.utils.cli.javatool.JavaToolRequest
- All Known Implementing Classes:
AbstractJarSignerRequest,JarSignerSignRequest,JarSignerVerifyRequest
public interface JarSignerRequest
extends org.apache.maven.shared.utils.cli.javatool.JavaToolRequest
Specifies the common parameters used to control a JarSigner tool invocation.
- Since:
- 1.0
- Author:
- Tony Chemit
-
Method Summary
Modifier and TypeMethodDescriptiongetAlias()Gets the value of thealiasfield.Gets the value of thearchivefield.String[]Gets the value of themaxMemoryfield.Gets the value of thekeystorefield.Gets the value of themaxMemoryfield.Gets the value of theproviderArgfield.Gets the value of theproviderClassfield.Gets the value of theproviderNamefield.Gets the value of thestorepassfield.Gets the value of thestoretypefield.Gets the value of theworkingDirectoryfield.booleanGets the value of the command line tool parameterbooleanGets the value of theverbosefield.voidSets the new given value to the fieldaliasof the request.voidsetArchive(File archive) Sets the new given value to the fieldarchiveof the request.voidsetArguments(String... arguments) Sets the new given value to the fieldargumentsof the request.voidsetKeystore(String keystore) Sets the new given value to the fieldkeystoreof the request.voidsetMaxMemory(String maxMemory) Sets the new given value to the fieldmaxMemoryof the request.voidsetProtectedAuthenticationPath(boolean protectedAuthenticationPath) Sets the value of the command line tool parametervoidsetProviderArg(String providerArg) Sets the new given value to the fieldproviderArgof the request.voidsetProviderClass(String providerClass) Sets the new given value to the fieldproviderClassof the request.voidsetProviderName(String providerName) Sets the new given value to the fieldproviderNameof the request.voidsetStorepass(String storepass) Sets the new given value to the fieldstorepassof the request.voidsetStoretype(String storetype) Sets the new given value to the fieldstoretypeof 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 interface org.apache.maven.shared.utils.cli.javatool.JavaToolRequest
getSystemErrorStreamConsumer, getSystemOutStreamConsumer, setSystemErrorStreamConsumer, setSystemOutStreamConsumer
-
Method Details
-
isVerbose
boolean isVerbose()Gets the value of theverbosefield.- Returns:
- the value of the
verbosefield.
-
getKeystore
String getKeystore()Gets the value of thekeystorefield.- Returns:
- the value of the
keystorefield.
-
getStoretype
String getStoretype()Gets the value of thestoretypefield.- Returns:
- the value of the
storetypefield.
-
getStorepass
String getStorepass()Gets the value of thestorepassfield.- Returns:
- the value of the
storepassfield.
-
getProviderName
String getProviderName()Gets the value of theproviderNamefield.- Returns:
- the value of the
providerNamefield.
-
getProviderClass
String getProviderClass()Gets the value of theproviderClassfield.- Returns:
- the value of the
providerClassfield.
-
getProviderArg
String getProviderArg()Gets the value of theproviderArgfield.- Returns:
- the value of the
providerArgfield.
-
getAlias
-
getMaxMemory
String getMaxMemory()Gets the value of themaxMemoryfield.- Returns:
- the value of the
maxMemoryfield.
-
getArguments
String[] getArguments()Gets the value of themaxMemoryfield.- Returns:
- the value of the
maxMemoryfield.
-
getWorkingDirectory
File getWorkingDirectory()Gets the value of theworkingDirectoryfield.- Returns:
- the value of the
workingDirectoryfield.
-
getArchive
File getArchive()Gets the value of thearchivefield.The archive field is in fact the file on which the jarsigner request will be executed.
- Returns:
- the value of the
archivefield.
-
isProtectedAuthenticationPath
boolean isProtectedAuthenticationPath()Gets the value of the command line tool parameterprotected
- Returns:
- true iff the password must be given via a protected authentication path such as a dedicated PIN reader
-
setVerbose
void setVerbose(boolean verbose) Sets the new given value to the fieldverboseof the request.- Parameters:
verbose- the new value of the fieldverbose.
-
setKeystore
Sets the new given value to the fieldkeystoreof the request.- Parameters:
keystore- the new value of the fieldkeystore.
-
setStoretype
Sets the new given value to the fieldstoretypeof the request.- Parameters:
storetype- the new value of the fieldstoretype.
-
setStorepass
Sets the new given value to the fieldstorepassof the request.- Parameters:
storepass- the new value of the fieldstorepass.
-
setAlias
Sets the new given value to the fieldaliasof the request.- Parameters:
alias- the new value of the fieldalias.
-
setProviderName
Sets the new given value to the fieldproviderNameof the request.- Parameters:
providerName- the new value of the fieldproviderName.
-
setProviderClass
Sets the new given value to the fieldproviderClassof the request.- Parameters:
providerClass- the new value of the fieldproviderClass.
-
setProviderArg
Sets the new given value to the fieldproviderArgof the request.- Parameters:
providerArg- the new value of the fieldproviderArg.
-
setMaxMemory
Sets the new given value to the fieldmaxMemoryof the request.- Parameters:
maxMemory- the new value of the fieldmaxMemory.
-
setArguments
Sets the new given value to the fieldargumentsof the request.- Parameters:
arguments- the new value of the fieldarguments.
-
setWorkingDirectory
Sets the new given value to the fieldworkingDirectoryof the request.- Parameters:
workingDirectory- the new value of the fieldworkingDirectory.
-
setArchive
Sets the new given value to the fieldarchiveof the request.- Parameters:
archive- the new value of the fieldarchive.
-
setProtectedAuthenticationPath
void setProtectedAuthenticationPath(boolean protectedAuthenticationPath) Sets the value of the command line tool parameterprotected
- Parameters:
protectedAuthenticationPath- iff the password must be given via a protected authentication path such as a dedicated PIN reader
-