JBoss AS7 Deployment Plugin 7.9.Final

org.jboss.as.plugin.server
Class ModulesPath

java.lang.Object
  extended by org.jboss.as.plugin.server.ModulesPath

public class ModulesPath
extends Object

Represents a module path element.

Guarded by this.

Author:
James R. Perkins

Constructor Summary
ModulesPath()
           
 
Method Summary
 String get()
          Returns the path or paths as a string delimited by the File.pathSeparatorChar if more than one path was defined.
 void set(File modulePath)
          Sets the modules path.
 List<String> validate()
          Returns a list of invalid module paths.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ModulesPath

public ModulesPath()
Method Detail

get

public String get()
Returns the path or paths as a string delimited by the File.pathSeparatorChar if more than one path was defined.

Returns:
the modules directory path

validate

public List<String> validate()
Returns a list of invalid module paths. If no paths are invalid an empty list is returned.

Returns:
a list of invalid module paths or an empty list

set

public void set(File modulePath)
Sets the modules path. Used for Maven to allow a single path to be set.

Parameters:
modulePath - the module path to set

JBoss AS7 Deployment Plugin 7.9.Final

Copyright © 2016 JBoss by Red Hat. All Rights Reserved.