|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.codehaus.groovy.grails.cli.support.PluginPathDiscoverySupport
public class PluginPathDiscoverySupport
Utility methods for plugin discovery when running the Grails command line.
| Constructor Summary | |
|---|---|
PluginPathDiscoverySupport(grails.util.BuildSettings settings)
|
|
| Method Summary | |
|---|---|
java.io.File |
getPluginDescriptor(java.io.File dir)
Retrieves the first plugin descriptor it finds in the given directory. |
java.lang.String |
getPluginName(java.io.File pluginDir)
Gets the name of a plugin based on its directory. |
java.util.List<java.io.File> |
listJarsInPluginLibs()
Lists all the jars found inside a plugins 'lib' directory |
java.util.List<java.io.File> |
listKnownPluginDirs()
List all plugin directories that we know about: those in the project's "plugins" directory, those in the global "plugins" dir, and those declared explicitly in the build config. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PluginPathDiscoverySupport(grails.util.BuildSettings settings)
| Method Detail |
|---|
public java.util.List<java.io.File> listKnownPluginDirs()
public java.util.List<java.io.File> listJarsInPluginLibs()
public java.lang.String getPluginName(java.io.File pluginDir)
pluginDir - The directory containing the plugin.
public java.io.File getPluginDescriptor(java.io.File dir)
dir - The directory to search in.
null
if none can be found.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||