public class VerifyJar extends AbstractJarSignerTask
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ERROR_NO_FILE
no file message "Not found :"
|
static java.lang.String |
ERROR_NO_VERIFY
Error output if there is a failure to verify the jar.
|
alias, ERROR_NO_SOURCE, filesets, jar, JARSIGNER_COMMAND, keypass, keystore, maxMemory, storepass, storetype, strict, verbose
description, location, project
Constructor and Description |
---|
VerifyJar() |
Modifier and Type | Method and Description |
---|---|
protected void |
beginExecution()
init processing logic; this is retained through our execution(s)
|
protected void |
endExecution()
any cleanup logic
|
void |
execute()
verify our jar files
|
void |
setCertificates(boolean certificates)
Ask for certificate information to be printed
|
addArg, addArgument, addFileset, addSysproperty, addValue, bindToKeystore, createJarSigner, createPath, createUnifiedSourcePath, createUnifiedSources, declareSysProperty, getRedirector, hasResources, setAlias, setCommonOptions, setExecutable, setJar, setKeypass, setKeystore, setMaxmemory, setProviderArg, setProviderClass, setProviderName, setStorepass, setStoretype, setStrict, setVerbose
bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType
clone, getDescription, getLocation, getProject, setDescription, setLocation, setProject
public static final java.lang.String ERROR_NO_FILE
public static final java.lang.String ERROR_NO_VERIFY
public void setCertificates(boolean certificates)
certificates
- if true print certificates.public void execute() throws BuildException
execute
in class Task
BuildException
- on error.protected void beginExecution()
AbstractJarSignerTask
beginExecution
in class AbstractJarSignerTask
protected void endExecution()
AbstractJarSignerTask
endExecution
in class AbstractJarSignerTask