Package org.gradle.docs.samples
Interface SampleSummary
- All Known Subinterfaces:
Sample
- All Known Implementing Classes:
SampleInternal
public interface SampleSummary
-
Method Summary
Modifier and TypeMethodDescriptionorg.gradle.api.provider.Property<String>org.gradle.api.provider.Property<String>org.gradle.api.provider.Property<String>org.gradle.api.provider.SetProperty<Dsl>getDsls()By convention, this is both Groovy and Kotlin.org.gradle.api.provider.Property<Boolean>By Convention this is true.org.gradle.api.provider.Property<String>
-
Method Details
-
getDescription
- Returns:
- Property for configuring the sample description. The description is used within the sample index.
-
getDisplayName
- Returns:
- Property for configuring the sample display name. The display name is used within the sample index.
-
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
- Returns:
- Property for configuring the category this sample appears in.
-
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
By Convention this is true.- Returns:
- true if the samples should be listed in the samples index.
-