proguard.ant
Class ConfigurationTask

java.lang.Object
  extended by org.apache.tools.ant.ProjectComponent
      extended by org.apache.tools.ant.Task
          extended by 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.


Field Summary
protected  Configuration configuration
           
 
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
 
Constructor Summary
ConfigurationTask()
           
 
Method Summary
 void addConfiguredAdaptresourcefilecontents(FilterElement filterElement)
           
 void addConfiguredAdaptresourcefilenames(FilterElement filterElement)
           
 void addConfiguredAssumenosideeffects(ClassSpecificationElement classSpecificationElement)
           
 void addConfiguredConfiguration(ConfigurationElement configurationElement)
           
 void addConfiguredInjar(ClassPathElement classPathElement)
           
 void addConfiguredKeep(KeepSpecificationElement keepSpecificationElement)
           
 void addConfiguredKeepattribute(KeepAttributeElement keepAttributeElement)
           
 void addConfiguredKeepclasseswithmembernames(KeepSpecificationElement keepSpecificationElement)
           
 void addConfiguredKeepclasseswithmembers(KeepSpecificationElement keepSpecificationElement)
           
 void addConfiguredKeepclassmembernames(KeepSpecificationElement keepSpecificationElement)
           
 void addConfiguredKeepclassmembers(KeepSpecificationElement keepSpecificationElement)
           
 void addConfiguredKeepnames(KeepSpecificationElement keepSpecificationElement)
           
 void addConfiguredLibraryjar(ClassPathElement classPathElement)
           
 void addConfiguredOutjar(ClassPathElement classPathElement)
           
 void addConfiguredWhyareyoukeeping(ClassSpecificationElement classSpecificationElement)
           
 void addText(java.lang.String text)
           
 void appendTo(Configuration configuration)
          Adds the contents of this configuration task to the given configuration.
 
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
 

Field Detail

configuration

protected final Configuration configuration
Constructor Detail

ConfigurationTask

public ConfigurationTask()
Method Detail

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