Class DriverManagerConnectionSource.Builder<B extends DriverManagerConnectionSource.Builder<B>>
java.lang.Object
org.apache.logging.log4j.core.appender.db.jdbc.AbstractDriverManagerConnectionSource.Builder<B>
org.apache.logging.log4j.core.appender.db.jdbc.DriverManagerConnectionSource.Builder<B>
- Type Parameters:
B
- This builder type or a subclass.
- All Implemented Interfaces:
Builder<DriverManagerConnectionSource>
- Enclosing class:
- DriverManagerConnectionSource
public static class DriverManagerConnectionSource.Builder<B extends DriverManagerConnectionSource.Builder<B>>
extends AbstractDriverManagerConnectionSource.Builder<B>
implements Builder<DriverManagerConnectionSource>
Builds DriverManagerConnectionSource instances.
-
Field Summary
Fields inherited from class org.apache.logging.log4j.core.appender.db.jdbc.AbstractDriverManagerConnectionSource.Builder
connectionString, driverClassName, password, properties, userName
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the object after all configuration has been set.Methods inherited from class org.apache.logging.log4j.core.appender.db.jdbc.AbstractDriverManagerConnectionSource.Builder
asBuilder, getConnectionString, getDriverClassName, getPassword, getProperties, getUserName, setConnectionString, setDriverClassName, setPassword, setProperties, setUserName
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apache.logging.log4j.core.util.Builder
getErrorPrefix, isValid
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Description copied from interface:Builder
Builds the object after all configuration has been set. This will use default values for any unspecified attributes for the object.- Specified by:
build
in interfaceBuilder<B extends DriverManagerConnectionSource.Builder<B>>
- Returns:
- the configured instance.
-