public abstract class AbstractJarSignerRequest extends org.apache.maven.shared.utils.cli.javatool.AbstractJavaToolRequest implements JarSignerRequest
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
alias
See options.
|
private java.io.File |
archive
Archive to treat.
|
private java.lang.String[] |
arguments
List of additional arguments to append to the jarsigner command line.
|
private java.lang.String |
keystore
See options.
|
private java.lang.String |
maxMemory
The maximum memory available to the JAR signer, e.g.
|
protected boolean |
protectedAuthenticationPath
See options.
|
private java.lang.String |
providerArg
See options.
|
private java.lang.String |
providerClass
See options.
|
private java.lang.String |
providerName
See options.
|
private java.lang.String |
storepass
See options.
|
private java.lang.String |
storetype
See options.
|
private boolean |
verbose
See options.
|
private java.io.File |
workingDirectory
Location of the working directory.
|
Constructor and Description |
---|
AbstractJarSignerRequest() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAlias()
Gets the value of the
alias field. |
java.io.File |
getArchive()
Gets the value of the
archive field. |
java.lang.String[] |
getArguments()
Gets the value of the
maxMemory field. |
java.lang.String |
getKeystore()
Gets the value of the
keystore field. |
java.lang.String |
getMaxMemory()
Gets the value of the
maxMemory field. |
java.lang.String |
getProviderArg()
Gets the value of the
providerArg field. |
java.lang.String |
getProviderClass()
Gets the value of the
providerClass field. |
java.lang.String |
getProviderName()
Gets the value of the
providerName field. |
java.lang.String |
getStorepass()
Gets the value of the
storepass field. |
java.lang.String |
getStoretype()
Gets the value of the
storetype field. |
java.io.File |
getWorkingDirectory()
Gets the value of the
workingDirectory field. |
boolean |
isProtectedAuthenticationPath()
Gets the value of the command line tool parameter
|
boolean |
isVerbose()
Gets the value of the
verbose field. |
void |
setAlias(java.lang.String alias)
Sets the new given value to the field
alias of the request. |
void |
setArchive(java.io.File archive)
Sets the new given value to the field
archive of the request. |
void |
setArguments(java.lang.String... arguments)
Sets the new given value to the field
arguments of the request. |
void |
setKeystore(java.lang.String keystore)
Sets the new given value to the field
keystore of the request. |
void |
setMaxMemory(java.lang.String maxMemory)
Sets the new given value to the field
maxMemory of the request. |
void |
setProtectedAuthenticationPath(boolean protect)
Sets the value of the command line tool parameter
|
void |
setProviderArg(java.lang.String providerArg)
Sets the new given value to the field
providerArg of the request. |
void |
setProviderClass(java.lang.String providerClass)
Sets the new given value to the field
providerClass of the request. |
void |
setProviderName(java.lang.String providerName)
Sets the new given value to the field
providerName of the request. |
void |
setStorepass(java.lang.String storepass)
Sets the new given value to the field
storepass of the request. |
void |
setStoretype(java.lang.String storetype)
Sets the new given value to the field
storetype of the request. |
void |
setVerbose(boolean verbose)
Sets the new given value to the field
verbose of the request. |
void |
setWorkingDirectory(java.io.File workingDirectory)
Sets the new given value to the field
workingDirectory of the request. |
getSystemErrorStreamConsumer, getSystemOutStreamConsumer, setSystemErrorStreamConsumer, setSystemOutStreamConsumer
private boolean verbose
private java.lang.String keystore
private java.lang.String storetype
private java.lang.String storepass
private java.lang.String alias
private java.lang.String providerName
private java.lang.String providerClass
private java.lang.String providerArg
private java.lang.String maxMemory
256M
. See -Xmx for more details.private java.lang.String[] arguments
private java.io.File workingDirectory
private java.io.File archive
protected boolean protectedAuthenticationPath
public boolean isVerbose()
verbose
field.isVerbose
in interface JarSignerRequest
verbose
field.public java.lang.String getKeystore()
keystore
field.getKeystore
in interface JarSignerRequest
keystore
field.public java.lang.String getStoretype()
storetype
field.getStoretype
in interface JarSignerRequest
storetype
field.public java.lang.String getStorepass()
storepass
field.getStorepass
in interface JarSignerRequest
storepass
field.public java.lang.String getAlias()
alias
field.getAlias
in interface JarSignerRequest
alias
field.public java.lang.String getProviderName()
providerName
field.getProviderName
in interface JarSignerRequest
providerName
field.public java.lang.String getProviderClass()
providerClass
field.getProviderClass
in interface JarSignerRequest
providerClass
field.public java.lang.String getProviderArg()
providerArg
field.getProviderArg
in interface JarSignerRequest
providerArg
field.public java.lang.String getMaxMemory()
maxMemory
field.getMaxMemory
in interface JarSignerRequest
maxMemory
field.public java.lang.String[] getArguments()
maxMemory
field.getArguments
in interface JarSignerRequest
maxMemory
field.public java.io.File getWorkingDirectory()
workingDirectory
field.getWorkingDirectory
in interface JarSignerRequest
workingDirectory
field.public java.io.File getArchive()
archive
field.
The archive field is in fact the file on which the jarsigner request will be executed.getArchive
in interface JarSignerRequest
archive
field.public boolean isProtectedAuthenticationPath()
protected
isProtectedAuthenticationPath
in interface JarSignerRequest
public void setVerbose(boolean verbose)
verbose
of the request.setVerbose
in interface JarSignerRequest
verbose
- the new value of the field verbose
.public void setKeystore(java.lang.String keystore)
keystore
of the request.setKeystore
in interface JarSignerRequest
keystore
- the new value of the field keystore
.public void setStoretype(java.lang.String storetype)
storetype
of the request.setStoretype
in interface JarSignerRequest
storetype
- the new value of the field storetype
.public void setStorepass(java.lang.String storepass)
storepass
of the request.setStorepass
in interface JarSignerRequest
storepass
- the new value of the field storepass
.public void setProviderName(java.lang.String providerName)
providerName
of the request.setProviderName
in interface JarSignerRequest
providerName
- the new value of the field providerName
.public void setProviderClass(java.lang.String providerClass)
providerClass
of the request.setProviderClass
in interface JarSignerRequest
providerClass
- the new value of the field providerClass
.public void setProviderArg(java.lang.String providerArg)
providerArg
of the request.setProviderArg
in interface JarSignerRequest
providerArg
- the new value of the field providerArg
.public void setAlias(java.lang.String alias)
alias
of the request.setAlias
in interface JarSignerRequest
alias
- the new value of the field alias
.public void setMaxMemory(java.lang.String maxMemory)
maxMemory
of the request.setMaxMemory
in interface JarSignerRequest
maxMemory
- the new value of the field maxMemory
.public void setArguments(java.lang.String... arguments)
arguments
of the request.setArguments
in interface JarSignerRequest
arguments
- the new value of the field arguments
.public void setWorkingDirectory(java.io.File workingDirectory)
workingDirectory
of the request.setWorkingDirectory
in interface JarSignerRequest
workingDirectory
- the new value of the field workingDirectory
.public void setArchive(java.io.File archive)
archive
of the request.setArchive
in interface JarSignerRequest
archive
- the new value of the field archive
.public void setProtectedAuthenticationPath(boolean protect)
protected
setProtectedAuthenticationPath
in interface JarSignerRequest
protect
- iff the password must be given via a protected
authentication path such as a dedicated PIN reader