Class AbstractGeneratorTask

java.lang.Object
org.gradle.api.internal.AbstractTask
org.gradle.api.DefaultTask
io.freefair.gradle.plugins.maven.plugin.AbstractGeneratorTask
All Implemented Interfaces:
Comparable<Task>, org.gradle.api.internal.DynamicObjectAware, org.gradle.api.internal.TaskInternal, Named, ExtensionAware, Task, Configurable<Task>
Direct Known Subclasses:
DescriptorGeneratorTask

public abstract class AbstractGeneratorTask extends DefaultTask
See Also:
  • AbstractGeneratorMojo
  • Constructor Details

    • AbstractGeneratorTask

      public AbstractGeneratorTask()
  • Method Details

    • getGoalPrefix

      @Optional @Input public abstract Property<String> getGoalPrefix()
      The goal prefix that will appear before the ":".
      See Also:
      • AbstractGeneratorMojo.goalPrefix
    • execute

      public void execute() throws org.apache.maven.tools.plugin.generator.GeneratorException, IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException, InvalidPluginDescriptorException, org.apache.maven.tools.plugin.extractor.ExtractionException
      Throws:
      org.apache.maven.tools.plugin.generator.GeneratorException
      IOException
      org.codehaus.plexus.util.xml.pull.XmlPullParserException
      InvalidPluginDescriptorException
      org.apache.maven.tools.plugin.extractor.ExtractionException
      See Also:
      • AbstractGeneratorMojo.execute()
    • generate

      protected abstract void generate() throws org.apache.maven.tools.plugin.extractor.ExtractionException, InvalidPluginDescriptorException, org.codehaus.plexus.util.xml.pull.XmlPullParserException, IOException, org.apache.maven.tools.plugin.generator.GeneratorException
      Throws:
      org.apache.maven.tools.plugin.extractor.ExtractionException
      InvalidPluginDescriptorException
      org.codehaus.plexus.util.xml.pull.XmlPullParserException
      IOException
      org.apache.maven.tools.plugin.generator.GeneratorException