Class AptTask.AptAdapter

  • All Implemented Interfaces:
    org.apache.tools.ant.taskdefs.compilers.CompilerAdapter, org.apache.tools.ant.taskdefs.compilers.CompilerAdapterExtension
    Enclosing class:
    AptTask

    public static final class AptTask.AptAdapter
    extends org.apache.tools.ant.taskdefs.compilers.DefaultCompilerAdapter
    • Field Summary

      • Fields inherited from class org.apache.tools.ant.taskdefs.compilers.DefaultCompilerAdapter

        attributes, bootclasspath, compileClasspath, compileList, compileSourcepath, debug, depend, deprecation, destDir, encoding, extdirs, includeAntRuntime, includeJavaRuntime, location, lSep, memoryInitialSize, memoryMaximumSize, modulepath, moduleSourcepath, optimize, project, release, src, target, upgrademodulepath, verbose
    • Constructor Summary

      Constructors 
      Constructor Description
      AptAdapter()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean execute()
      Run the compilation.
      protected String getMainClass()  
      protected String getMainMethod()  
      protected String getToolName()  
      • Methods inherited from class org.apache.tools.ant.taskdefs.compilers.DefaultCompilerAdapter

        addCurrentCompilerArgs, addExtdirsToClasspath, assumeJava11, assumeJava12, assumeJava13, assumeJava14, assumeJava15, assumeJava16, assumeJava17, assumeJava18, assumeJava19, assumeJava9, assumeJava9Plus, executeExternalCompile, executeExternalCompile, getBootClassPath, getCompileClasspath, getJavac, getModulepath, getModulesourcepath, getNoDebugArgument, getProject, getSupportedFileExtensions, getUpgrademodulepath, logAndAddFilesToCompile, setJavac, setupJavacCommand, setupJavacCommand, setupJavacCommandlineSwitches, setupJavacCommandlineSwitches, setupModernJavacCommand, setupModernJavacCommandlineSwitches
    • Constructor Detail

      • AptAdapter

        public AptAdapter()
    • Method Detail

      • getMainMethod

        protected String getMainMethod()
      • getMainClass

        protected String getMainClass()
      • getToolName

        protected String getToolName()
      • execute

        public boolean execute()
                        throws org.apache.tools.ant.BuildException
        Run the compilation.
        Throws:
        org.apache.tools.ant.BuildException - if the compilation has problems.