Interface GenerateSimpleResourceSpec
public interface GenerateSimpleResourceSpec
Specification that is used for configuring GenerateSimpleResource task.
This is a configuration for another plugin task run.
In this case it is a resource instead of a record.
The properties are parameters and the single method defines the task execution.
-
Method Details
-
getFileName
org.gradle.api.provider.Property<String> getFileName()The generated file name.- Returns:
- The generated file name.
-
getContent
org.gradle.api.provider.Property<String> getContent()The content of the file.- Returns:
- The content of the file.
-
getEnding
org.gradle.api.provider.Property<Ending> getEnding()How the file ends.- Returns:
- How the file ends.
-
getRepeat
RepeatSpec getRepeat()Configure generating repeated file content.- Returns:
- Configure generating repeated file content.
-