Class WildFly8xCliConfigurationFactory
- java.lang.Object
-
- org.codehaus.cargo.container.wildfly.internal.configuration.factory.WildFly8xCliConfigurationFactory
-
- All Implemented Interfaces:
WildFlyCliConfigurationFactory
- Direct Known Subclasses:
WildFly9xCliConfigurationFactory
public class WildFly8xCliConfigurationFactory extends Object implements WildFlyCliConfigurationFactory
WildFly8x CLI configuration factory returning specific configuration scripts.
-
-
Field Summary
Fields Modifier and Type Field Description protected Configuration
configuration
Container configuration.
-
Constructor Summary
Constructors Constructor Description WildFly8xCliConfigurationFactory(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
addModuleScript(String moduleName, List<String> jarFilePaths, List<String> moduleDependencies)
ScriptCommand
connectToServerScript()
ScriptCommand
shutdownServerScript()
-
-
-
Field Detail
-
configuration
protected Configuration configuration
Container configuration.
-
-
Constructor Detail
-
WildFly8xCliConfigurationFactory
public WildFly8xCliConfigurationFactory(Configuration configuration)
Sets configuration containing all needed information for building configuration scripts.- Parameters:
configuration
- Container configuration.
-
-
Method Detail
-
shutdownServerScript
public ScriptCommand shutdownServerScript()
- Specified by:
shutdownServerScript
in interfaceWildFlyCliConfigurationFactory
- Returns:
- Shutdown server CLI script.
-
connectToServerScript
public ScriptCommand connectToServerScript()
- Specified by:
connectToServerScript
in interfaceWildFlyCliConfigurationFactory
- Returns:
- Connect to running server CLI script.
-
addModuleScript
public ScriptCommand addModuleScript(String moduleName, List<String> jarFilePaths, List<String> moduleDependencies)
- Specified by:
addModuleScript
in interfaceWildFlyCliConfigurationFactory
- Parameters:
moduleName
- Module name.jarFilePaths
- Paths to module's jar files.moduleDependencies
- List of module names the module being added depends on.- Returns:
- Add module CLI script.
-
-