Class SchemaGenBase

  • All Implemented Interfaces:
    java.lang.Cloneable, org.apache.tools.ant.types.selectors.SelectorContainer
    Direct Known Subclasses:
    SchemaGenTask

    public class SchemaGenBase
    extends ApBasedTask
    Author:
    Yan GAO (gaoyan.gao@oracle.com)
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      class  SchemaGenBase.Schema
      Nested schema element to specify the namespace -> file name mapping.
      • Nested classes/interfaces inherited from class org.apache.tools.ant.taskdefs.Javac

        org.apache.tools.ant.taskdefs.Javac.ImplementationSpecificArgument
    • Field Summary

      • Fields inherited from class org.apache.tools.ant.taskdefs.Javac

        compileList, failOnError, listFiles
      • Fields inherited from class org.apache.tools.ant.taskdefs.MatchingTask

        fileset
      • 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
      SchemaGenBase()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected void compile()  
      org.apache.tools.ant.types.Commandline.Argument createJvmarg()  
      SchemaGenBase.Schema createSchema()  
      java.lang.String getAddexports()  
      java.lang.String getAddmodules()  
      java.lang.String getAddopens()  
      java.lang.String getAddreads()  
      protected java.lang.String getCompilationMessage()  
      java.io.File getEpisode()  
      protected java.lang.String getFailedMessage()  
      boolean getFork()  
      java.lang.String getLimitmodules()  
      org.apache.tools.ant.types.Path getModulepath()  
      org.apache.tools.ant.types.Path getModulesourcepath()  
      java.lang.String getPatchmodule()  
      protected javax.annotation.processing.Processor getProcessor()
      Creates a factory that does the actual job.
      org.apache.tools.ant.types.Path getUpgrademodulepath()  
      void setAddexports​(java.lang.String aes)  
      void setAddmodules​(java.lang.String ams)  
      void setAddopens​(java.lang.String aos)  
      void setAddreads​(java.lang.String ars)  
      void setEpisode​(java.io.File f)
      Sets the episode file to be generated.
      void setFork​(boolean flg)  
      void setLimitmodules​(java.lang.String lms)  
      void setModulepath​(org.apache.tools.ant.types.Path mp)  
      void setModulesourcepath​(org.apache.tools.ant.types.Path msp)  
      void setPatchmodule​(java.lang.String pms)  
      protected org.apache.tools.ant.types.CommandlineJava setupCommand()
      Set up command line to invoke.
      protected void setupCommandlineSwitches​(org.apache.tools.ant.types.Commandline cmd)
      Implemented by the derived class to set up command line switches passed to annotation processing.
      void setUpgrademodulepath​(org.apache.tools.ant.types.Path ump)  
      • Methods inherited from class org.apache.tools.ant.taskdefs.Javac

        add, checkParameters, createBootclasspath, createClasspath, createCompilerArg, createCompilerClasspath, createExtdirs, createModulepath, createModulesourcepath, createSourcepath, createSrc, createUpgrademodulepath, execute, getBootclasspath, getClasspath, getCompiler, getCompilerVersion, getCurrentCompilerArgs, getDebug, getDebugLevel, getDepend, getDeprecation, getDestdir, getEncoding, getExecutable, getExtdirs, getFailonerror, getFileList, getIncludeantruntime, getIncludejavaruntime, getJavacExecutable, getListfiles, getMemoryInitialSize, getMemoryMaximumSize, getNativeHeaderDir, getNowarn, getOptimize, getRelease, getSource, getSourcepath, getSrcdir, getSystemJavac, getTarget, getTaskSuccess, getTempdir, getVerbose, isForkedJavac, isIncludeDestClasses, isJdkCompiler, recreateSrc, resetFileLists, scanDir, setBootclasspath, setBootClasspathRef, setClasspath, setClasspathRef, setCompiler, setCreateMissingPackageInfoClass, setDebug, setDebugLevel, setDepend, setDeprecation, setDestdir, setEncoding, setErrorProperty, setExecutable, setExtdirs, setFailonerror, setIncludeantruntime, setIncludeDestClasses, setIncludejavaruntime, setListfiles, setMemoryInitialSize, setMemoryMaximumSize, setModulepathRef, setModulesourcepathRef, setNativeHeaderDir, setNowarn, setOptimize, setProceed, setRelease, setSource, setSourcepath, setSourcepathRef, setSrcdir, setTarget, setTempdir, setUpdatedProperty, setUpgrademodulepathRef, setVerbose
      • Methods inherited from class org.apache.tools.ant.taskdefs.MatchingTask

        add, addAnd, addContains, addContainsRegexp, addCustom, addDate, addDepend, addDepth, addDifferent, addFilename, addMajority, addModified, addNone, addNot, addOr, addPresent, addSelector, addSize, addType, appendSelector, createExclude, createExcludesFile, createInclude, createIncludesFile, createPatternSet, getDirectoryScanner, getImplicitFileSet, getSelectors, hasSelectors, selectorCount, selectorElements, setCaseSensitive, setDefaultexcludes, setExcludes, setExcludesfile, setFollowSymlinks, setIncludes, setIncludesfile, setProject, XsetIgnore, XsetItems
      • Methods inherited from class org.apache.tools.ant.Task

        bindToOwner, 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
      • Methods inherited from class java.lang.Object

        equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SchemaGenBase

        public SchemaGenBase()
    • Method Detail

      • createJvmarg

        public org.apache.tools.ant.types.Commandline.Argument createJvmarg()
      • setModulepath

        public void setModulepath​(org.apache.tools.ant.types.Path mp)
        Overrides:
        setModulepath in class org.apache.tools.ant.taskdefs.Javac
      • getModulepath

        public org.apache.tools.ant.types.Path getModulepath()
        Overrides:
        getModulepath in class org.apache.tools.ant.taskdefs.Javac
      • setModulesourcepath

        public void setModulesourcepath​(org.apache.tools.ant.types.Path msp)
        Overrides:
        setModulesourcepath in class org.apache.tools.ant.taskdefs.Javac
      • getModulesourcepath

        public org.apache.tools.ant.types.Path getModulesourcepath()
        Overrides:
        getModulesourcepath in class org.apache.tools.ant.taskdefs.Javac
      • setUpgrademodulepath

        public void setUpgrademodulepath​(org.apache.tools.ant.types.Path ump)
        Overrides:
        setUpgrademodulepath in class org.apache.tools.ant.taskdefs.Javac
      • getUpgrademodulepath

        public org.apache.tools.ant.types.Path getUpgrademodulepath()
        Overrides:
        getUpgrademodulepath in class org.apache.tools.ant.taskdefs.Javac
      • setAddmodules

        public void setAddmodules​(java.lang.String ams)
      • getAddmodules

        public java.lang.String getAddmodules()
      • setLimitmodules

        public void setLimitmodules​(java.lang.String lms)
      • getLimitmodules

        public java.lang.String getLimitmodules()
      • setAddreads

        public void setAddreads​(java.lang.String ars)
      • getAddreads

        public java.lang.String getAddreads()
      • setAddexports

        public void setAddexports​(java.lang.String aes)
      • getAddexports

        public java.lang.String getAddexports()
      • setPatchmodule

        public void setPatchmodule​(java.lang.String pms)
      • getPatchmodule

        public java.lang.String getPatchmodule()
      • setAddopens

        public void setAddopens​(java.lang.String aos)
      • getAddopens

        public java.lang.String getAddopens()
      • setupCommandlineSwitches

        protected void setupCommandlineSwitches​(org.apache.tools.ant.types.Commandline cmd)
        Description copied from class: ApBasedTask
        Implemented by the derived class to set up command line switches passed to annotation processing.
        Specified by:
        setupCommandlineSwitches in class ApBasedTask
      • setFork

        public void setFork​(boolean flg)
        Overrides:
        setFork in class org.apache.tools.ant.taskdefs.Javac
      • getFork

        public boolean getFork()
      • setEpisode

        public void setEpisode​(java.io.File f)
        Sets the episode file to be generated. Null to not to generate one, which is the default behavior.
      • getEpisode

        public java.io.File getEpisode()
      • getProcessor

        protected javax.annotation.processing.Processor getProcessor()
        Description copied from class: ApBasedTask
        Creates a factory that does the actual job.
        Specified by:
        getProcessor in class ApBasedTask
      • setupCommand

        protected org.apache.tools.ant.types.CommandlineJava setupCommand()
        Set up command line to invoke.
        Returns:
        ready to run command line