Package aQute.bnd.ant

Class BaseTask

    • Nested Class Summary

      • Nested classes/interfaces inherited from interface aQute.service.reporter.Report

        aQute.service.reporter.Report.Location
      • Nested classes/interfaces inherited from interface aQute.service.reporter.Reporter

        aQute.service.reporter.Reporter.SetLocation
    • Field Summary

      • 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

      Constructors 
      Constructor Description
      BaseTask()  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      void addProperty​(org.apache.tools.ant.taskdefs.Property property)  
      void addWsproperty​(org.apache.tools.ant.taskdefs.Property property)  
      aQute.service.reporter.Reporter.SetLocation error​(java.lang.String s, java.lang.Object... args)  
      aQute.service.reporter.Reporter.SetLocation exception​(java.lang.Throwable t, java.lang.String format, java.lang.Object... args)  
      java.util.List<java.lang.String> getErrors()  
      static java.io.File getFile​(java.io.File base, java.lang.String file)  
      aQute.service.reporter.Report.Location getLocation​(java.lang.String msg)  
      java.util.List<java.lang.String> getWarnings()  
      boolean isExceptions()  
      boolean isOk()  
      boolean isPedantic()  
      boolean isTrace()  
      protected java.lang.String join​(java.util.Collection<?> classpath, java.lang.String string)  
      void progress​(float progress, java.lang.String s, java.lang.Object... args)
      Deprecated.
      Use SLF4J Logger.info(aQute.libg.slf4j.GradleLogging.LIFECYCLE) instead.
      protected boolean report()  
      protected boolean report​(aQute.service.reporter.Reporter reporter)  
      void setExceptions​(boolean exceptions)  
      void setPedantic​(boolean pedantic)  
      void setTrace​(boolean trace)  
      protected java.util.List<java.lang.String> split​(java.lang.String dependsOn, java.lang.String string)  
      void trace​(java.lang.String s, java.lang.Object... args)
      Deprecated.
      Use SLF4J Logger.debug instead.
      aQute.service.reporter.Reporter.SetLocation warning​(java.lang.String s, java.lang.Object... args)  
      • 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
    • Constructor Detail

      • BaseTask

        public BaseTask()
    • Method Detail

      • report

        protected boolean report()
      • report

        protected boolean report​(aQute.service.reporter.Reporter reporter)
      • getFile

        public static java.io.File getFile​(java.io.File base,
                                           java.lang.String file)
      • split

        protected java.util.List<java.lang.String> split​(java.lang.String dependsOn,
                                                         java.lang.String string)
      • join

        protected java.lang.String join​(java.util.Collection<?> classpath,
                                        java.lang.String string)
      • isPedantic

        public boolean isPedantic()
        Specified by:
        isPedantic in interface aQute.service.reporter.Reporter
      • setPedantic

        public void setPedantic​(boolean pedantic)
      • setTrace

        public void setTrace​(boolean trace)
      • isTrace

        public boolean isTrace()
      • trace

        @Deprecated
        public void trace​(java.lang.String s,
                          java.lang.Object... args)
        Deprecated.
        Use SLF4J Logger.debug instead.
        Specified by:
        trace in interface aQute.service.reporter.Reporter
      • addProperty

        public void addProperty​(org.apache.tools.ant.taskdefs.Property property)
      • addWsproperty

        public void addWsproperty​(org.apache.tools.ant.taskdefs.Property property)
      • isExceptions

        public boolean isExceptions()
      • setExceptions

        public void setExceptions​(boolean exceptions)
      • getLocation

        public aQute.service.reporter.Report.Location getLocation​(java.lang.String msg)
        Specified by:
        getLocation in interface aQute.service.reporter.Report
      • isOk

        public boolean isOk()
        Specified by:
        isOk in interface aQute.service.reporter.Report
      • exception

        public aQute.service.reporter.Reporter.SetLocation exception​(java.lang.Throwable t,
                                                                     java.lang.String format,
                                                                     java.lang.Object... args)
        Specified by:
        exception in interface aQute.service.reporter.Reporter
      • error

        public aQute.service.reporter.Reporter.SetLocation error​(java.lang.String s,
                                                                 java.lang.Object... args)
        Specified by:
        error in interface aQute.service.reporter.Reporter
      • getErrors

        public java.util.List<java.lang.String> getErrors()
        Specified by:
        getErrors in interface aQute.service.reporter.Report
      • getWarnings

        public java.util.List<java.lang.String> getWarnings()
        Specified by:
        getWarnings in interface aQute.service.reporter.Report
      • progress

        @Deprecated
        public void progress​(float progress,
                             java.lang.String s,
                             java.lang.Object... args)
        Deprecated.
        Use SLF4J Logger.info(aQute.libg.slf4j.GradleLogging.LIFECYCLE) instead.
        Specified by:
        progress in interface aQute.service.reporter.Reporter
      • warning

        public aQute.service.reporter.Reporter.SetLocation warning​(java.lang.String s,
                                                                   java.lang.Object... args)
        Specified by:
        warning in interface aQute.service.reporter.Reporter