Class Converter
java.lang.Object
wtf.metio.yosql.tooling.gradle.Converter
Configures converter related settings.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionwtf.metio.yosql.models.immutables.ConverterConfigurationvoidabstract org.gradle.api.provider.Property<String> abstract org.gradle.api.provider.Property<Boolean> abstract org.gradle.api.provider.Property<String> abstract org.gradle.api.provider.Property<String> abstract org.gradle.api.provider.Property<String> abstract org.gradle.api.provider.Property<String> abstract org.gradle.api.provider.Property<String> abstract org.gradle.api.provider.Property<String>
-
Constructor Details
-
Converter
public Converter()
-
-
Method Details
-
getDefaultConverter
- Returns:
- The fully-qualified name of the converter to use for statements that name none.
-
getGenerateMapConverter
- Returns:
- Whether the ToMap converter should be generated.
-
getMapConverterClass
- Returns:
- The fully-qualified class name of the ToMap converter.
-
getMapConverterMethod
- Returns:
- The name of the method to generate/call in the ToMap converter.
-
getMapConverterAlias
- Returns:
- The name of the alias referencing the ToMap converter.
-
getRecordConverterMethod
- Returns:
- The name of the method to generate in converters built from a record.
-
getRecordConverterPrefix
- Returns:
- The prefix of the class name of converters built from a record.
-
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()
-