Class Converter

java.lang.Object
wtf.metio.yosql.tooling.gradle.Converter

public abstract class Converter extends Object
Configures converter related settings.
  • Constructor Details

    • Converter

      public Converter()
  • Method Details

    • getDefaultConverter

      @Input public abstract org.gradle.api.provider.Property<String> getDefaultConverter()
      Returns:
      The fully-qualified name of the converter to use for statements that name none.
    • getGenerateMapConverter

      @Input public abstract org.gradle.api.provider.Property<Boolean> getGenerateMapConverter()
      Returns:
      Whether the ToMap converter should be generated.
    • getMapConverterClass

      @Input public abstract org.gradle.api.provider.Property<String> getMapConverterClass()
      Returns:
      The fully-qualified class name of the ToMap converter.
    • getMapConverterMethod

      @Input public abstract org.gradle.api.provider.Property<String> getMapConverterMethod()
      Returns:
      The name of the method to generate/call in the ToMap converter.
    • getMapConverterAlias

      @Input public abstract org.gradle.api.provider.Property<String> getMapConverterAlias()
      Returns:
      The name of the alias referencing the ToMap converter.
    • getRecordConverterMethod

      @Input public abstract org.gradle.api.provider.Property<String> getRecordConverterMethod()
      Returns:
      The name of the method to generate in converters built from a record.
    • getRecordConverterPrefix

      @Input public abstract org.gradle.api.provider.Property<String> getRecordConverterPrefix()
      Returns:
      The prefix of the class name of converters built from a record.
    • getRecordConverterSuffix

      @Input public abstract org.gradle.api.provider.Property<String> getRecordConverterSuffix()
      Returns:
      The suffix of the class name of converters built from a record.
    • asConfiguration

      public wtf.metio.yosql.models.immutables.ConverterConfiguration asConfiguration()
    • configureConventions

      public void configureConventions()