ProGuard

proguard.ant
Class ConfigurationTask

java.lang.Object
  extended byorg.apache.tools.ant.ProjectComponent
      extended byorg.apache.tools.ant.Task
          extended byproguard.ant.ConfigurationTask
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
description, location, target, taskName, taskType, wrapper
 
Fields inherited from class org.apache.tools.ant.ProjectComponent
project
 
Constructor Summary
ConfigurationTask()
           
 
Method Summary
 void addConfiguredConfiguration(ConfigurationElement configurationElement)
           
 void addConfiguredInjar(ClassPathElement classPathElement)
           
 void addConfiguredKeep(ClassSpecificationElement classSpecificationElement)
           
 void addConfiguredKeepattribute(KeepAttributeElement keepAttributeElement)
           
 void addConfiguredKeepclasseswithmembernames(ClassSpecificationElement classSpecificationElement)
           
 void addConfiguredKeepclasseswithmembers(ClassSpecificationElement classSpecificationElement)
           
 void addConfiguredKeepclassmembernames(ClassSpecificationElement classSpecificationElement)
           
 void addConfiguredKeepclassmembers(ClassSpecificationElement classSpecificationElement)
           
 void addConfiguredKeepnames(ClassSpecificationElement classSpecificationElement)
           
 void addConfiguredLibraryjar(ClassPathElement classPathElement)
           
 void addConfiguredOutjar(ClassPathElement classPathElement)
           
 void addText(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
execute, getDescription, getLocation, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, handleErrorFlush, handleErrorOutput, handleFlush, handleOutput, init, isInvalid, log, log, maybeConfigure, perform, setDescription, setLocation, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName
 
Methods inherited from class org.apache.tools.ant.ProjectComponent
getProject, setProject
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

configuration

protected 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(ClassSpecificationElement classSpecificationElement)

addConfiguredKeepclassmembers

public void addConfiguredKeepclassmembers(ClassSpecificationElement classSpecificationElement)

addConfiguredKeepclasseswithmembers

public void addConfiguredKeepclasseswithmembers(ClassSpecificationElement classSpecificationElement)

addConfiguredKeepnames

public void addConfiguredKeepnames(ClassSpecificationElement classSpecificationElement)

addConfiguredKeepclassmembernames

public void addConfiguredKeepclassmembernames(ClassSpecificationElement classSpecificationElement)

addConfiguredKeepclasseswithmembernames

public void addConfiguredKeepclasseswithmembernames(ClassSpecificationElement classSpecificationElement)

addConfiguredKeepattribute

public void addConfiguredKeepattribute(KeepAttributeElement keepAttributeElement)

addConfiguredConfiguration

public void addConfiguredConfiguration(ConfigurationElement configurationElement)

addText

public void addText(String text)
             throws org.apache.tools.ant.BuildException
Throws:
org.apache.tools.ant.BuildException

ProGuard