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 thealias
field.Gets the value of thearchive
field.String[]
Gets the value of themaxMemory
field.Gets the value of thekeystore
field.Gets the value of themaxMemory
field.Gets the value of theproviderArg
field.Gets the value of theproviderClass
field.Gets the value of theproviderName
field.Gets the value of thestorepass
field.Gets the value of thestoretype
field.Gets the value of theworkingDirectory
field.boolean
Gets the value of the command line tool parameterboolean
Gets the value of theverbose
field.void
Sets the new given value to the fieldalias
of the request.void
setArchive
(File archive) Sets the new given value to the fieldarchive
of the request.void
setArguments
(String... arguments) Sets the new given value to the fieldarguments
of the request.void
setKeystore
(String keystore) Sets the new given value to the fieldkeystore
of the request.void
setMaxMemory
(String maxMemory) Sets the new given value to the fieldmaxMemory
of the request.void
setProtectedAuthenticationPath
(boolean protectedAuthenticationPath) Sets the value of the command line tool parametervoid
setProviderArg
(String providerArg) Sets the new given value to the fieldproviderArg
of the request.void
setProviderClass
(String providerClass) Sets the new given value to the fieldproviderClass
of the request.void
setProviderName
(String providerName) Sets the new given value to the fieldproviderName
of the request.void
setStorepass
(String storepass) Sets the new given value to the fieldstorepass
of the request.void
setStoretype
(String storetype) Sets the new given value to the fieldstoretype
of the request.void
setVerbose
(boolean verbose) Sets the new given value to the fieldverbose
of the request.void
setWorkingDirectory
(File workingDirectory) Sets the new given value to the fieldworkingDirectory
of 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 theverbose
field.- Returns:
- the value of the
verbose
field.
-
getKeystore
String getKeystore()Gets the value of thekeystore
field.- Returns:
- the value of the
keystore
field.
-
getStoretype
String getStoretype()Gets the value of thestoretype
field.- Returns:
- the value of the
storetype
field.
-
getStorepass
String getStorepass()Gets the value of thestorepass
field.- Returns:
- the value of the
storepass
field.
-
getProviderName
String getProviderName()Gets the value of theproviderName
field.- Returns:
- the value of the
providerName
field.
-
getProviderClass
String getProviderClass()Gets the value of theproviderClass
field.- Returns:
- the value of the
providerClass
field.
-
getProviderArg
String getProviderArg()Gets the value of theproviderArg
field.- Returns:
- the value of the
providerArg
field.
-
getAlias
-
getMaxMemory
String getMaxMemory()Gets the value of themaxMemory
field.- Returns:
- the value of the
maxMemory
field.
-
getArguments
String[] getArguments()Gets the value of themaxMemory
field.- Returns:
- the value of the
maxMemory
field.
-
getWorkingDirectory
File getWorkingDirectory()Gets the value of theworkingDirectory
field.- Returns:
- the value of the
workingDirectory
field.
-
getArchive
File getArchive()Gets the value of thearchive
field.The archive field is in fact the file on which the jarsigner request will be executed.
- Returns:
- the value of the
archive
field.
-
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 fieldverbose
of the request.- Parameters:
verbose
- the new value of the fieldverbose
.
-
setKeystore
Sets the new given value to the fieldkeystore
of the request.- Parameters:
keystore
- the new value of the fieldkeystore
.
-
setStoretype
Sets the new given value to the fieldstoretype
of the request.- Parameters:
storetype
- the new value of the fieldstoretype
.
-
setStorepass
Sets the new given value to the fieldstorepass
of the request.- Parameters:
storepass
- the new value of the fieldstorepass
.
-
setAlias
Sets the new given value to the fieldalias
of the request.- Parameters:
alias
- the new value of the fieldalias
.
-
setProviderName
Sets the new given value to the fieldproviderName
of the request.- Parameters:
providerName
- the new value of the fieldproviderName
.
-
setProviderClass
Sets the new given value to the fieldproviderClass
of the request.- Parameters:
providerClass
- the new value of the fieldproviderClass
.
-
setProviderArg
Sets the new given value to the fieldproviderArg
of the request.- Parameters:
providerArg
- the new value of the fieldproviderArg
.
-
setMaxMemory
Sets the new given value to the fieldmaxMemory
of the request.- Parameters:
maxMemory
- the new value of the fieldmaxMemory
.
-
setArguments
Sets the new given value to the fieldarguments
of the request.- Parameters:
arguments
- the new value of the fieldarguments
.
-
setWorkingDirectory
Sets the new given value to the fieldworkingDirectory
of the request.- Parameters:
workingDirectory
- the new value of the fieldworkingDirectory
.
-
setArchive
Sets the new given value to the fieldarchive
of 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
-