Class WildFly9xCliConfigurationFactory
- java.lang.Object
-
- org.codehaus.cargo.container.wildfly.internal.configuration.factory.WildFly8xCliConfigurationFactory
-
- org.codehaus.cargo.container.wildfly.internal.configuration.factory.WildFly9xCliConfigurationFactory
-
- All Implemented Interfaces:
WildFlyCliConfigurationFactory
public class WildFly9xCliConfigurationFactory extends WildFly8xCliConfigurationFactory
WildFly9x CLI configuration factory returning specific configuration scripts.
-
-
Field Summary
-
Fields inherited from class org.codehaus.cargo.container.wildfly.internal.configuration.factory.WildFly8xCliConfigurationFactory
configuration
-
-
Constructor Summary
Constructors Constructor Description WildFly9xCliConfigurationFactory(Configuration configuration)
Sets configuration containing all needed information for building configuration scripts.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ScriptCommand
batchScript()
ScriptCommand
configurePortsScript()
ScriptCommand
customScript(String scriptPath)
ScriptCommand
dataSourceDriverScript(DataSource ds, String driverModule)
ScriptCommand
dataSourceScript(DataSource ds)
ScriptCommand
loggingScript()
ScriptCommand
resourceScript(Resource resource)
ScriptCommand
runBatchScript()
ScriptCommand
startEmbedServerScript()
ScriptCommand
systemPropertyScript(String name, String value)
-
Methods inherited from class org.codehaus.cargo.container.wildfly.internal.configuration.factory.WildFly8xCliConfigurationFactory
addModuleScript, connectToServerScript, shutdownServerScript
-
-
-
-
Constructor Detail
-
WildFly9xCliConfigurationFactory
public WildFly9xCliConfigurationFactory(Configuration configuration)
Sets configuration containing all needed information for building configuration scripts.- Parameters:
configuration
- Container configuration.
-
-
Method Detail
-
startEmbedServerScript
public ScriptCommand startEmbedServerScript()
- Returns:
- Start embed server CLI script.
-
batchScript
public ScriptCommand batchScript()
- Returns:
- Batch CLI script.
-
runBatchScript
public ScriptCommand runBatchScript()
- Returns:
- Run batch CLI script.
-
configurePortsScript
public ScriptCommand configurePortsScript()
- Returns:
- Configure ports CLI script.
-
loggingScript
public ScriptCommand loggingScript()
- Returns:
- Configure logger CLI script.
-
systemPropertyScript
public ScriptCommand systemPropertyScript(String name, String value)
- Parameters:
name
- System property name.value
- System property value.- Returns:
- Configure logger CLI script.
-
dataSourceScript
public ScriptCommand dataSourceScript(DataSource ds)
- Parameters:
ds
- DataSource to be configured.- Returns:
- Configure DataSource CLI script.
-
dataSourceDriverScript
public ScriptCommand dataSourceDriverScript(DataSource ds, String driverModule)
- Parameters:
ds
- DataSource to be configured.driverModule
- Module containing DataSource driver.- Returns:
- Configure DataSource Driver CLI script.
-
resourceScript
public ScriptCommand resourceScript(Resource resource)
- Parameters:
resource
- Resource.- Returns:
- Create resource CLI script.
-
customScript
public ScriptCommand customScript(String scriptPath)
- Parameters:
scriptPath
- Path to script file.- Returns:
- Custom CLI script.
-
-