Package org.gradle.docs.samples.internal
Class SamplesInternal
java.lang.Object
org.gradle.docs.samples.internal.SamplesInternal
- All Implemented Interfaces:
Samples
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.gradle.api.DomainObjectSet<? super SampleBinary>abstract org.gradle.api.file.DirectoryPropertyBy convention, this is buildDir/working/samples/docsabstract org.gradle.api.file.DirectoryPropertyBy convention, this is buildDir/working/samples/installorg.gradle.api.NamedDomainObjectContainer<? extends SampleInternal>abstract org.gradle.api.file.DirectoryPropertyBy convention, this is buildDir/working/samples/render-samplesorg.gradle.api.NamedDomainObjectContainer<? extends TemplateInternal>abstract org.gradle.api.file.DirectoryPropertyBy convention, this is buildDir/working/samples/testingMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.gradle.docs.samples.Samples
getSampleIndexFile, getSamplesRoot, getTemplatesRoot
-
Constructor Details
-
SamplesInternal
@Inject public SamplesInternal(org.gradle.api.model.ObjectFactory objectFactory)
-
-
Method Details
-
getPublishedSamples
- Specified by:
getPublishedSamplesin interfaceSamples- Returns:
- Container of all published samples. This is the primary configuration point for all samples.
-
getBinaries
-
getTemplates
- Specified by:
getTemplatesin interfaceSamples- Returns:
- Container of all templates. Templates are reusable parts of a sample.
-
getDistribution
- Specified by:
getDistributionin interfaceSamples- Returns:
- Buildable elements of all the available samples.
-
getInstallRoot
public abstract org.gradle.api.file.DirectoryProperty getInstallRoot()By convention, this is buildDir/working/samples/install- Returns:
- The root install directory.
-
getTestedInstallRoot
public abstract org.gradle.api.file.DirectoryProperty getTestedInstallRoot()By convention, this is buildDir/working/samples/testing- Returns:
- location of installed samples ready for testing
-
getDocumentationInstallRoot
public abstract org.gradle.api.file.DirectoryProperty getDocumentationInstallRoot()By convention, this is buildDir/working/samples/docs- Returns:
- The root directory for all documentation.
-
getRenderedDocumentationRoot
public abstract org.gradle.api.file.DirectoryProperty getRenderedDocumentationRoot()By convention, this is buildDir/working/samples/render-samples- Returns:
- The root directory for rendered documentation.
-