Klasse 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.
  • Konstruktorübersicht

    Konstruktoren
    Konstruktor
    Beschreibung
    CabeExtension(org.gradle.api.Project project, org.gradle.api.file.ProjectLayout projectLayout)
    Construct a new instance of the extension.
  • Methodenübersicht

    Modifizierer und Typ
    Methode
    Beschreibung
    org.gradle.api.provider.Provider<org.gradle.api.file.FileCollection>
    Retrieves the classpath for the Cabe plugin.
    org.gradle.api.file.DirectoryProperty
    Returns the input directory for the Cabe plugin.
    org.gradle.api.file.DirectoryProperty
    Returns the output directory for the Cabe plugin.

    Von Klasse geerbte Methoden java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Konstruktordetails

    • CabeExtension

      @Inject public CabeExtension(org.gradle.api.Project project, org.gradle.api.file.ProjectLayout projectLayout)
      Construct a new instance of the extension.
      Parameter:
      project - the project to configure
      projectLayout - the project layout
  • Methodendetails

    • getInputDirectory

      public org.gradle.api.file.DirectoryProperty getInputDirectory()
      Returns the input directory for the Cabe plugin.
      Gibt zurück:
      the input directory as a DirectoryProperty object
    • getOutputDirectory

      public org.gradle.api.file.DirectoryProperty getOutputDirectory()
      Returns the output directory for the Cabe plugin.
      Gibt zurück:
      the output directory as a DirectoryProperty object
    • getClassPath

      public org.gradle.api.provider.Provider<org.gradle.api.file.FileCollection> getClassPath()
      Retrieves the classpath for the Cabe plugin.
      Gibt zurück:
      the classpath as a Provider object of type FileCollection