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.JavaToolRequestSpecifies the common parameters used to control a JarSigner tool invocation.- Since:
- 1.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetAlias()Gets the value of thealiasfield.java.io.FilegetArchive()Gets the value of thearchivefield.java.lang.String[]getArguments()Gets the value of themaxMemoryfield.java.lang.StringgetKeystore()Gets the value of thekeystorefield.java.lang.StringgetMaxMemory()Gets the value of themaxMemoryfield.java.lang.StringgetProviderArg()Gets the value of theproviderArgfield.java.lang.StringgetProviderClass()Gets the value of theproviderClassfield.java.lang.StringgetProviderName()Gets the value of theproviderNamefield.java.lang.StringgetStorepass()Gets the value of thestorepassfield.java.lang.StringgetStoretype()Gets the value of thestoretypefield.java.io.FilegetWorkingDirectory()Gets the value of theworkingDirectoryfield.booleanisProtectedAuthenticationPath()Gets the value of the command line tool parameterbooleanisVerbose()Gets the value of theverbosefield.voidsetAlias(java.lang.String alias)Sets the new given value to the fieldaliasof the request.voidsetArchive(java.io.File archive)Sets the new given value to the fieldarchiveof the request.voidsetArguments(java.lang.String... arguments)Sets the new given value to the fieldargumentsof the request.voidsetKeystore(java.lang.String keystore)Sets the new given value to the fieldkeystoreof the request.voidsetMaxMemory(java.lang.String maxMemory)Sets the new given value to the fieldmaxMemoryof the request.voidsetProtectedAuthenticationPath(boolean protectedAuthenticationPath)Sets the value of the command line tool parametervoidsetProviderArg(java.lang.String providerArg)Sets the new given value to the fieldproviderArgof the request.voidsetProviderClass(java.lang.String providerClass)Sets the new given value to the fieldproviderClassof the request.voidsetProviderName(java.lang.String providerName)Sets the new given value to the fieldproviderNameof the request.voidsetStorepass(java.lang.String storepass)Sets the new given value to the fieldstorepassof the request.voidsetStoretype(java.lang.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(java.io.File workingDirectory)Sets the new given value to the fieldworkingDirectoryof the request.
-
-
-
Method Detail
-
isVerbose
boolean isVerbose()
Gets the value of theverbosefield.- Returns:
- the value of the
verbosefield.
-
getKeystore
java.lang.String getKeystore()
Gets the value of thekeystorefield.- Returns:
- the value of the
keystorefield.
-
getStoretype
java.lang.String getStoretype()
Gets the value of thestoretypefield.- Returns:
- the value of the
storetypefield.
-
getStorepass
java.lang.String getStorepass()
Gets the value of thestorepassfield.- Returns:
- the value of the
storepassfield.
-
getProviderName
java.lang.String getProviderName()
Gets the value of theproviderNamefield.- Returns:
- the value of the
providerNamefield.
-
getProviderClass
java.lang.String getProviderClass()
Gets the value of theproviderClassfield.- Returns:
- the value of the
providerClassfield.
-
getProviderArg
java.lang.String getProviderArg()
Gets the value of theproviderArgfield.- Returns:
- the value of the
providerArgfield.
-
getAlias
java.lang.String getAlias()
Gets the value of thealiasfield.- Returns:
- the value of the
aliasfield.
-
getMaxMemory
java.lang.String getMaxMemory()
Gets the value of themaxMemoryfield.- Returns:
- the value of the
maxMemoryfield.
-
getArguments
java.lang.String[] getArguments()
Gets the value of themaxMemoryfield.- Returns:
- the value of the
maxMemoryfield.
-
getWorkingDirectory
java.io.File getWorkingDirectory()
Gets the value of theworkingDirectoryfield.- Returns:
- the value of the
workingDirectoryfield.
-
getArchive
java.io.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
void setKeystore(java.lang.String keystore)
Sets the new given value to the fieldkeystoreof the request.- Parameters:
keystore- the new value of the fieldkeystore.
-
setStoretype
void setStoretype(java.lang.String storetype)
Sets the new given value to the fieldstoretypeof the request.- Parameters:
storetype- the new value of the fieldstoretype.
-
setStorepass
void setStorepass(java.lang.String storepass)
Sets the new given value to the fieldstorepassof the request.- Parameters:
storepass- the new value of the fieldstorepass.
-
setAlias
void setAlias(java.lang.String alias)
Sets the new given value to the fieldaliasof the request.- Parameters:
alias- the new value of the fieldalias.
-
setProviderName
void setProviderName(java.lang.String providerName)
Sets the new given value to the fieldproviderNameof the request.- Parameters:
providerName- the new value of the fieldproviderName.
-
setProviderClass
void setProviderClass(java.lang.String providerClass)
Sets the new given value to the fieldproviderClassof the request.- Parameters:
providerClass- the new value of the fieldproviderClass.
-
setProviderArg
void setProviderArg(java.lang.String providerArg)
Sets the new given value to the fieldproviderArgof the request.- Parameters:
providerArg- the new value of the fieldproviderArg.
-
setMaxMemory
void setMaxMemory(java.lang.String maxMemory)
Sets the new given value to the fieldmaxMemoryof the request.- Parameters:
maxMemory- the new value of the fieldmaxMemory.
-
setArguments
void setArguments(java.lang.String... arguments)
Sets the new given value to the fieldargumentsof the request.- Parameters:
arguments- the new value of the fieldarguments.
-
setWorkingDirectory
void setWorkingDirectory(java.io.File workingDirectory)
Sets the new given value to the fieldworkingDirectoryof the request.- Parameters:
workingDirectory- the new value of the fieldworkingDirectory.
-
setArchive
void setArchive(java.io.File archive)
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
-
-