Class SubAntHelper

  • All Implemented Interfaces:
    Cloneable

    public class SubAntHelper
    extends org.apache.tools.ant.Task
    A Proxy for the SubAntclass allowing to retrieve some data after configuration.
    Author:
    Christophe Labouisse
    • Constructor Detail

      • SubAntHelper

        public SubAntHelper()
        Constructor for SubAntHelper.
      • SubAntHelper

        public SubAntHelper​(org.apache.tools.ant.taskdefs.SubAnt underlying)
        Constructor for SubAntHelper.
        Parameters:
        underlying - SubAnt
    • Method Detail

      • addDirset

        public final void addDirset​(org.apache.tools.ant.types.DirSet set)
        Parameters:
        set - DirSet
      • addFilelist

        public final void addFilelist​(org.apache.tools.ant.types.FileList list)
        Parameters:
        list - FileList
      • addFileset

        public final void addFileset​(org.apache.tools.ant.types.FileSet set)
        Parameters:
        set - FileSet
      • addProperty

        public final void addProperty​(org.apache.tools.ant.taskdefs.Property p)
        Parameters:
        p - Property
      • addPropertyset

        public final void addPropertyset​(org.apache.tools.ant.types.PropertySet ps)
        Parameters:
        ps - PropertySet
      • addReference

        public final void addReference​(org.apache.tools.ant.taskdefs.Ant.Reference r)
        Parameters:
        r - Reference
      • addConfiguredTarget

        public void addConfiguredTarget​(org.apache.tools.ant.taskdefs.Ant.TargetElement t)
        Parameters:
        t - Ant.TargetElement
      • createBuildpath

        public final org.apache.tools.ant.types.Path createBuildpath()
        Returns:
        Path
      • createBuildpathElement

        public final org.apache.tools.ant.types.Path.PathElement createBuildpathElement()
        Returns:
        PathElement
      • execute

        public final void execute()
        Method execute.
        Overrides:
        execute in class org.apache.tools.ant.Task
        See Also:
        Task.execute()
      • getAntfile

        public final String getAntfile()
        Returns:
        Returns the antfile.
      • getBuildpath

        public final org.apache.tools.ant.types.Path getBuildpath()
        Gets the implicit build path, creating it if null.
        Returns:
        the implicit build path.
      • getDescription

        public final String getDescription()
        Method getDescription.
        Overrides:
        getDescription in class org.apache.tools.ant.ProjectComponent
        Returns:
        String
        See Also:
        ProjectComponent.getDescription()
      • getGenericAntfile

        public final File getGenericAntfile()
        Returns:
        Returns the genericantfile.
      • getLocation

        public final org.apache.tools.ant.Location getLocation()
        Method getLocation.
        Overrides:
        getLocation in class org.apache.tools.ant.ProjectComponent
        Returns:
        Location
        See Also:
        ProjectComponent.getLocation()
      • getOwningTarget

        public final org.apache.tools.ant.Target getOwningTarget()
        Method getOwningTarget.
        Overrides:
        getOwningTarget in class org.apache.tools.ant.Task
        Returns:
        Target
        See Also:
        Task.getOwningTarget()
      • getProject

        public final org.apache.tools.ant.Project getProject()
        Method getProject.
        Overrides:
        getProject in class org.apache.tools.ant.ProjectComponent
        Returns:
        Project
        See Also:
        ProjectComponent.getProject()
      • getProperties

        public final List<org.apache.tools.ant.taskdefs.Property> getProperties()
        Returns:
        Returns the properties.
      • getPropertySets

        public final List<org.apache.tools.ant.types.PropertySet> getPropertySets()
        Returns:
        Returns the propertySets.
      • getReferences

        public final List<org.apache.tools.ant.taskdefs.Ant.Reference> getReferences()
        Returns:
        Returns the references.
      • getRuntimeConfigurableWrapper

        public final org.apache.tools.ant.RuntimeConfigurable getRuntimeConfigurableWrapper()
        Method getRuntimeConfigurableWrapper.
        Overrides:
        getRuntimeConfigurableWrapper in class org.apache.tools.ant.Task
        Returns:
        RuntimeConfigurable
        See Also:
        Task.getRuntimeConfigurableWrapper()
      • getTaskName

        public final String getTaskName()
        Method getTaskName.
        Overrides:
        getTaskName in class org.apache.tools.ant.Task
        Returns:
        String
        See Also:
        Task.getTaskName()
      • getTaskType

        public final String getTaskType()
        Method getTaskType.
        Overrides:
        getTaskType in class org.apache.tools.ant.Task
        Returns:
        String
        See Also:
        Task.getTaskType()
      • init

        public final void init()
        Method init.
        Overrides:
        init in class org.apache.tools.ant.Task
        See Also:
        Task.init()
      • log

        public final void log​(String msg)
        Method log.
        Overrides:
        log in class org.apache.tools.ant.Task
        Parameters:
        msg - String
        See Also:
        Task.log(java.lang.String)
      • log

        public final void log​(String msg,
                              int msgLevel)
        Method log.
        Overrides:
        log in class org.apache.tools.ant.Task
        Parameters:
        msg - String
        msgLevel - int
        See Also:
        Task.log(java.lang.String, int)
      • maybeConfigure

        public final void maybeConfigure()
        Method maybeConfigure.
        Overrides:
        maybeConfigure in class org.apache.tools.ant.Task
        See Also:
        Task.maybeConfigure()
      • reconfigure

        public final void reconfigure()
        Method reconfigure.
        Overrides:
        reconfigure in class org.apache.tools.ant.Task
        See Also:
        Task.reconfigure()
      • setAntfile

        public final void setAntfile​(String antfile)
        Parameters:
        antfile - String
      • add

        public void add​(org.apache.tools.ant.types.ResourceCollection rc)
        Parameters:
        rc - ResourceCollection
      • setBuildpath

        public final void setBuildpath​(org.apache.tools.ant.types.Path s)
        Parameters:
        s - Path
      • setBuildpathRef

        public final void setBuildpathRef​(org.apache.tools.ant.types.Reference r)
        Parameters:
        r - Reference
      • setDescription

        public final void setDescription​(String desc)
        Method setDescription.
        Overrides:
        setDescription in class org.apache.tools.ant.ProjectComponent
        Parameters:
        desc - String
        See Also:
        ProjectComponent.setDescription(java.lang.String)
      • setFailonerror

        public final void setFailonerror​(boolean failOnError)
        Parameters:
        failOnError - boolean
      • setGenericAntfile

        public final void setGenericAntfile​(File afile)
        Parameters:
        afile - File
      • setInheritall

        public final void setInheritall​(boolean b)
        Parameters:
        b - boolean
      • setInheritrefs

        public final void setInheritrefs​(boolean b)
        Parameters:
        b - boolean
      • setLocation

        public final void setLocation​(org.apache.tools.ant.Location location)
        Method setLocation.
        Overrides:
        setLocation in class org.apache.tools.ant.ProjectComponent
        Parameters:
        location - Location
        See Also:
        ProjectComponent.setLocation(org.apache.tools.ant.Location)
      • getTarget

        public final String getTarget()
        Returns:
        Returns the target.
      • setOutput

        public final void setOutput​(String s)
        Parameters:
        s - String
      • setOwningTarget

        public final void setOwningTarget​(org.apache.tools.ant.Target target)
        Method setOwningTarget.
        Overrides:
        setOwningTarget in class org.apache.tools.ant.Task
        Parameters:
        target - Target
        See Also:
        Task.setOwningTarget(org.apache.tools.ant.Target)
      • setProject

        public final void setProject​(org.apache.tools.ant.Project project)
        Method setProject.
        Overrides:
        setProject in class org.apache.tools.ant.ProjectComponent
        Parameters:
        project - Project
        See Also:
        ProjectComponent.setProject(org.apache.tools.ant.Project)
      • setRuntimeConfigurableWrapper

        public final void setRuntimeConfigurableWrapper​(org.apache.tools.ant.RuntimeConfigurable wrapper)
        Method setRuntimeConfigurableWrapper.
        Overrides:
        setRuntimeConfigurableWrapper in class org.apache.tools.ant.Task
        Parameters:
        wrapper - RuntimeConfigurable
        See Also:
        Task.setRuntimeConfigurableWrapper(org.apache.tools.ant.RuntimeConfigurable)
      • setTarget

        public final void setTarget​(String target)
        Parameters:
        target - String
      • setTaskName

        public final void setTaskName​(String name)
        Method setTaskName.
        Overrides:
        setTaskName in class org.apache.tools.ant.Task
        Parameters:
        name - String
        See Also:
        Task.setTaskName(java.lang.String)
      • setTaskType

        public final void setTaskType​(String type)
        Method setTaskType.
        Overrides:
        setTaskType in class org.apache.tools.ant.Task
        Parameters:
        type - String
        See Also:
        Task.setTaskType(java.lang.String)