Class CabeExtension

java.lang.Object
com.dua3.cabe.gradle.CabeExtension

public class CabeExtension extends Object
CabeExtension represents the extension for the Cabe plugin. It provides access to the input directory, output directory, and classpath.
  • Constructor Summary

    Constructors
    Constructor
    Description
    CabeExtension(org.gradle.api.Project project)
    Construct a new instance of the extension.
  • Method Summary

    Modifier and Type
    Method
    Description
    org.gradle.api.provider.Property<com.dua3.cabe.processor.Configuration>
    Retrieves the configuration property for the Cabe plugin.
    org.gradle.api.provider.Property<Integer>
    Retrieves the configuration property for the Cabe plugin.
    void
    setConfig(com.dua3.cabe.processor.Configuration config)
    Sets the configuration property for the Cabe plugin.
    void
    setVerbosity(int verbosity)
    Sets the configuration property for the Cabe plugin.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • CabeExtension

      @Inject public CabeExtension(org.gradle.api.Project project)
      Construct a new instance of the extension.
      Parameters:
      project - the project to configure
  • Method Details

    • getConfig

      public org.gradle.api.provider.Property<com.dua3.cabe.processor.Configuration> getConfig()
      Retrieves the configuration property for the Cabe plugin.
      Returns:
      the configuration property as a Property object of type Configuration
    • setConfig

      public void setConfig(com.dua3.cabe.processor.Configuration config)
      Sets the configuration property for the Cabe plugin.
      Parameters:
      config - the configuration to set
    • getVerbosity

      public org.gradle.api.provider.Property<Integer> getVerbosity()
      Retrieves the configuration property for the Cabe plugin.
      Returns:
      the configuration property as a Property object of type Configuration
    • setVerbosity

      public void setVerbosity(int verbosity)
      Sets the configuration property for the Cabe plugin.
      Parameters:
      verbosity - the verbosity level to set