Class Schema
java.lang.Object
wtf.metio.yosql.tooling.gradle.Schema
Configures how `YoSQL` checks statements against the schema they run against.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionwtf.metio.yosql.models.immutables.SchemaConfigurationasConfiguration(Path projectBaseDirectory) voidabstract org.gradle.api.provider.Property<String> abstract org.gradle.api.provider.Property<wtf.metio.yosql.models.configuration.SchemaValidation>
-
Constructor Details
-
Schema
public Schema()
-
-
Method Details
-
getValidation
@Input public abstract org.gradle.api.provider.Property<wtf.metio.yosql.models.configuration.SchemaValidation> getValidation()- Returns:
- What to do about a statement that disagrees with the schema.
-
getSqlStatementsDirectory
- Returns:
- Where the DDL describing your schema lives, when it is not among your statements.
-
asConfiguration
public wtf.metio.yosql.models.immutables.SchemaConfiguration asConfiguration(Path projectBaseDirectory) -
configureConventions
public void configureConventions()
-