org.wildfly.extras.creaper.commands.datasources
Class AddJdbcDriver
java.lang.Object
org.wildfly.extras.creaper.commands.datasources.AddJdbcDriver
- All Implemented Interfaces:
- Command, OfflineCommand, OnlineCommand
public final class AddJdbcDriver
- extends Object
- implements OnlineCommand, OfflineCommand
Command which creates a new JDBC driver in the datasources subsystem. It needs an existing
module with the JDBC driver JAR.
|
Nested Class Summary |
static class |
AddJdbcDriver.Builder
Builder for configuration attributes of a JDBC driver in the datasources susbystem. |
| Fields inherited from interface org.wildfly.extras.creaper.core.online.OnlineCommand |
NOOP |
| Fields inherited from interface org.wildfly.extras.creaper.core.offline.OfflineCommand |
NOOP |
apply
public void apply(OnlineCommandContext ctx)
throws IOException
- Specified by:
apply in interface OnlineCommand
- Throws:
IOException
apply
public void apply(OfflineCommandContext ctx)
throws CommandFailedException
- Specified by:
apply in interface OfflineCommand
- Throws:
CommandFailedException
toString
public String toString()
- Specified by:
toString in interface OfflineCommand- Specified by:
toString in interface OnlineCommand- Overrides:
toString in class Object
Copyright © 2016. All rights reserved.