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 Details

    • Modules

      public Modules()
  • Method Details

    • discoverModulePath

      public static Path discoverModulePath()
      Discovers the JBoss Module directory to use. Use the org.wildfly.testing.tools.modules.immutable.paths system 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