proguard.ant
Class ConfigurationTask
java.lang.Object
org.apache.tools.ant.ProjectComponent
org.apache.tools.ant.Task
proguard.ant.ConfigurationTask
- All Implemented Interfaces:
- java.lang.Cloneable
- Direct Known Subclasses:
- ProGuardTask
public class ConfigurationTask
- extends org.apache.tools.ant.Task
This Task allows to define a ProGuard configuration from Ant.
| Fields inherited from class org.apache.tools.ant.Task |
target, taskName, taskType, wrapper |
| Fields inherited from class org.apache.tools.ant.ProjectComponent |
description, location, project |
| Methods inherited from class org.apache.tools.ant.Task |
bindToOwner, execute, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType |
| Methods inherited from class org.apache.tools.ant.ProjectComponent |
clone, getDescription, getLocation, getProject, setDescription, setLocation, setProject |
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
configuration
protected final Configuration configuration
ConfigurationTask
public ConfigurationTask()
appendTo
public void appendTo(Configuration configuration)
- Adds the contents of this configuration task to the given configuration.
- Parameters:
configuration - the configuration to be extended.
addConfiguredInjar
public void addConfiguredInjar(ClassPathElement classPathElement)
addConfiguredOutjar
public void addConfiguredOutjar(ClassPathElement classPathElement)
addConfiguredLibraryjar
public void addConfiguredLibraryjar(ClassPathElement classPathElement)
addConfiguredKeep
public void addConfiguredKeep(KeepSpecificationElement keepSpecificationElement)
addConfiguredKeepclassmembers
public void addConfiguredKeepclassmembers(KeepSpecificationElement keepSpecificationElement)
addConfiguredKeepclasseswithmembers
public void addConfiguredKeepclasseswithmembers(KeepSpecificationElement keepSpecificationElement)
addConfiguredKeepnames
public void addConfiguredKeepnames(KeepSpecificationElement keepSpecificationElement)
addConfiguredKeepclassmembernames
public void addConfiguredKeepclassmembernames(KeepSpecificationElement keepSpecificationElement)
addConfiguredKeepclasseswithmembernames
public void addConfiguredKeepclasseswithmembernames(KeepSpecificationElement keepSpecificationElement)
addConfiguredWhyareyoukeeping
public void addConfiguredWhyareyoukeeping(ClassSpecificationElement classSpecificationElement)
addConfiguredAssumenosideeffects
public void addConfiguredAssumenosideeffects(ClassSpecificationElement classSpecificationElement)
addConfiguredKeepattribute
public void addConfiguredKeepattribute(KeepAttributeElement keepAttributeElement)
addConfiguredAdaptresourcefilenames
public void addConfiguredAdaptresourcefilenames(FilterElement filterElement)
addConfiguredAdaptresourcefilecontents
public void addConfiguredAdaptresourcefilecontents(FilterElement filterElement)
addConfiguredConfiguration
public void addConfiguredConfiguration(ConfigurationElement configurationElement)
addText
public void addText(java.lang.String text)
throws org.apache.tools.ant.BuildException
- Throws:
org.apache.tools.ant.BuildException