Class Modules
- java.lang.Object
-
- org.wildfly.testing.tools.modules.Modules
-
public class Modules extends Object
Utilities for JBoss Modules.- Author:
- James R. Perkins
-
-
Constructor Summary
Constructors Constructor Description Modules()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static PathdiscoverModulePath()Discovers the JBoss Module directory to use.
-
-
-
Method Detail
-
discoverModulePath
public static Path discoverModulePath()
Discovers the JBoss Module directory to use. Use theorg.wildfly.testing.tools.modules.immutable.pathssystem property to add a list of paths, separated by a path separator, which are immutable. The first non-immutable path is returned.Paths may be immutable for testing due to not wanting to pollute a local installation of the server.
- Returns:
- the JBoss Modules path where modules can be stored
- Throws:
IllegalStateException- if there is no module path found or the only module paths are immutable paths
-
-