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 class instead of a record. The properties are parameters and the single method defines the task execution. The plugin generates a simple record.
  • Method Summary

    Modifier and Type
    Method
    Description
    org.gradle.api.provider.Property<String>
    The content of the file.
    org.gradle.api.provider.Property<Ending>
    How the file ends.
    org.gradle.api.provider.Property<String>
    The generated file name.
    org.gradle.api.provider.Property<Repeat>
    Configure generating repeated file.
  • 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

      org.gradle.api.provider.Property<Repeat> getRepeat()
      Configure generating repeated file.
      Returns:
      Configure generating repeated file.