Class Configuration

  • All Implemented Interfaces:
    Serializable, XMLAppendable

    public class Configuration
    extends Object
    implements Serializable, XMLAppendable

    Java class for anonymous complex type.

    The following schema fragment specifies the expected content contained within this class.

     <complexType>
       <complexContent>
         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
           <all>
             <element name="logging" type="{http://www.jooq.org/xsd/jooq-codegen-3.15.0.xsd}Logging" minOccurs="0"/>
             <element name="onError" type="{http://www.jooq.org/xsd/jooq-codegen-3.15.0.xsd}OnError" minOccurs="0"/>
             <element name="jdbc" type="{http://www.jooq.org/xsd/jooq-codegen-3.15.0.xsd}Jdbc" minOccurs="0"/>
             <element name="generator" type="{http://www.jooq.org/xsd/jooq-codegen-3.15.0.xsd}Generator"/>
             <element name="basedir" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
           </all>
         </restriction>
       </complexContent>
     </complexType>
     
    See Also:
    Serialized Form
    • Constructor Detail

      • Configuration

        public Configuration()
    • Method Detail

      • getLogging

        public Logging getLogging()
        The logging configuration element specifies the code generation logging threshold.
      • setLogging

        public void setLogging​(Logging value)
        The logging configuration element specifies the code generation logging threshold.
      • getOnError

        public OnError getOnError()
        The action to be taken by the generator as the consequence of an encountered exception. Defaults to FAIL.
      • setOnError

        public void setOnError​(OnError value)
        The action to be taken by the generator as the consequence of an encountered exception. Defaults to FAIL.
      • getJdbc

        public Jdbc getJdbc()
        The JDBC configuration element contains information about how to set up the database connection used for source code generation.
      • setJdbc

        public void setJdbc​(Jdbc value)
        The JDBC configuration element contains information about how to set up the database connection used for source code generation.
      • getGenerator

        public Generator getGenerator()
        The GENERATOR configuration element contains information about source code generation itself.
      • setGenerator

        public void setGenerator​(Generator value)
        The GENERATOR configuration element contains information about source code generation itself.
      • getBasedir

        public String getBasedir()
        The base directory that should be used instead of the JVM's working directory, to resolve all relative paths.
      • setBasedir

        public void setBasedir​(String value)
        The base directory that should be used instead of the JVM's working directory, to resolve all relative paths.
      • withLogging

        public Configuration withLogging​(Logging value)
        The logging configuration element specifies the code generation logging threshold.
      • withOnError

        public Configuration withOnError​(OnError value)
        The action to be taken by the generator as the consequence of an encountered exception. Defaults to FAIL.
      • withJdbc

        public Configuration withJdbc​(Jdbc value)
        The JDBC configuration element contains information about how to set up the database connection used for source code generation.
      • withGenerator

        public Configuration withGenerator​(Generator value)
        The GENERATOR configuration element contains information about source code generation itself.
      • withBasedir

        public Configuration withBasedir​(String value)
        The base directory that should be used instead of the JVM's working directory, to resolve all relative paths.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object