Interface SampleSummary

All Known Subinterfaces:
Sample
All Known Implementing Classes:
SampleInternal

public interface SampleSummary
  • Method Details

    • getDescription

      @Input org.gradle.api.provider.Property<String> getDescription()
      Returns:
      Property for configuring the sample description. The description is used within the sample index.
    • getDisplayName

      @Input org.gradle.api.provider.Property<String> getDisplayName()
      Returns:
      Property for configuring the sample display name. The display name is used within the sample index.
    • getSampleDocName

      @Input org.gradle.api.provider.Property<String> getSampleDocName()
      Returns:
      Property for configuring the sample documentation name. This is the name other parts of the documentation would use to refer to the sample.
    • getCategory

      @Input org.gradle.api.provider.Property<String> getCategory()
      Returns:
      Property for configuring the category this sample appears in.
    • getDsls

      @Input org.gradle.api.provider.SetProperty<Dsl> getDsls()
      By convention, this is both Groovy and Kotlin. Every sample must have at least one DSL.
      Returns:
      DSLs that should be expected for this sample.
    • getPromoted

      @Input org.gradle.api.provider.Property<Boolean> getPromoted()
      By Convention this is true.
      Returns:
      true if the samples should be listed in the samples index.