Schnittstelle CheckableComponentSpec

Alle Superschnittstellen:
ComponentSpec, ModelElement, Named
Alle bekannten Unterschnittstellen:
ApplicationBinarySpec, BinarySpec, CUnitTestSuiteBinarySpec, GoogleTestTestSuiteBinarySpec, LibraryBinarySpec, NativeBinarySpec, NativeExecutableBinarySpec, NativeLibraryBinarySpec, NativeTestSuiteBinarySpec, SharedLibraryBinarySpec, StaticLibraryBinarySpec, TestSuiteBinarySpec
Alle bekannten Implementierungsklassen:
org.gradle.api.internal.AbstractBuildableComponentSpec, org.gradle.language.base.internal.AbstractLanguageSourceSet, BaseBinarySpec, BaseLanguageSourceSet

@Incubating public interface CheckableComponentSpec extends ComponentSpec
A ComponentSpec that is directly checkable via a specified task.
  • Verschachtelte Klassen - Übersicht

    Von Schnittstelle geerbte verschachtelte Klassen/Schnittstellen org.gradle.api.Named

    Named.Namer
  • Methodenübersicht

    Modifizierer und Typ
    Methode
    Beschreibung
    void
    checkedBy(Object... tasks)
    Adds tasks required to check this component.
    Returns the task responsible for checking this component.
    void
    setCheckTask(Task checkTask)
    Specifies the task responsible for checking this component.

    Von Schnittstelle geerbte Methoden org.gradle.platform.base.ComponentSpec

    getProjectPath

    Von Schnittstelle geerbte Methoden org.gradle.model.ModelElement

    getDisplayName, getName
  • Methodendetails

    • getCheckTask

      @Nullable Task getCheckTask()
      Returns the task responsible for checking this component.
    • setCheckTask

      void setCheckTask(@Nullable Task checkTask)
      Specifies the task responsible for checking this component.
    • checkedBy

      void checkedBy(Object... tasks)
      Adds tasks required to check this component. Tasks added this way are subsequently added as dependencies of this component's check task.