Class Schema

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

public abstract class Schema extends Object
Configures how `YoSQL` checks statements against the schema they run against.
  • 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

      @Input public abstract org.gradle.api.provider.Property<String> 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()