org.wildfly.extras.creaper.commands.datasources
Class AddMysqlDataSource

java.lang.Object
  extended by org.wildfly.extras.creaper.commands.datasources.AddDataSource
      extended by org.wildfly.extras.creaper.commands.datasources.AddMysqlDataSource
All Implemented Interfaces:
Command, OfflineCommand, OnlineCommand

public final class AddMysqlDataSource
extends AddDataSource

Creates a MySQL datasource.

Connection URL format: jdbc:mysql://localhost:3306/database-name

Applies defaults from Example MySQL Datasource.


Nested Class Summary
static class AddMysqlDataSource.Builder
           
 
Field Summary
 
Fields inherited from class org.wildfly.extras.creaper.commands.datasources.AddDataSource
allocationRetry, allocationRetryWaitMillis, allowMultipleUsers, backgroundValidation, backgroundValidationMillis, blockingTimeoutMillis, checkValidConnectionSql, connectable, connectionProperties, datasourceClass, driverClass, driverName, exceptionSorterClass, exceptionSorterProperties, flushStrategy, idleTimeoutMinutes, jta, managedConnectionPool, maxPoolSize, minPoolSize, newConnectionSql, password, prefill, preparedStatementCacheSize, queryTimeout, reauthPluginClass, reauthPluginProperties, securityDomain, setTxQueryTimeout, sharePreparedStatements, spy, staleConnectionCheckerClass, staleConnectionCheckerProperties, statisticsEnabled, trackStatements, transactionIsolation, urlDelimiter, urlSelectorStrategyClass, useCcm, useFastFailAllocation, useJavaContext, username, useStrictMinPoolSize, useTryLock, validateOnMatch, validConnectionCheckerClass, validConnectionCheckerProperties
 
Fields inherited from interface org.wildfly.extras.creaper.core.online.OnlineCommand
NOOP
 
Fields inherited from interface org.wildfly.extras.creaper.core.offline.OfflineCommand
NOOP
 
Method Summary
protected  void modifyIfNeeded(ServerVersion serverVersion)
           
 
Methods inherited from class org.wildfly.extras.creaper.commands.datasources.AddDataSource
apply, apply, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

modifyIfNeeded

protected void modifyIfNeeded(ServerVersion serverVersion)
Overrides:
modifyIfNeeded in class AddDataSource


Copyright © 2020. All rights reserved.