|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | PROPERTY | CONSTR | METHOD | DETAIL: FIELD | PROPERTY | CONSTR | METHOD |
java.lang.Object org.codehaus.groovy.grails.plugins.publishing.DefaultPluginPublisher
class DefaultPluginPublisher extends java.lang.Object
Utility methods for manipulating the plugin-list.xml file used when publishing plugins to a Grails plugin repository
Property Summary | |
---|---|
java.io.File |
baseDir
|
java.lang.String |
repositoryURL
|
java.lang.String |
revision
|
Constructor Summary | |
DefaultPluginPublisher(java.io.File baseDir, java.lang.String revNumber, java.lang.String repositoryURL)
|
|
DefaultPluginPublisher(java.lang.String revNumber, java.lang.String repositoryURL)
|
Method Summary | |
---|---|
protected groovy.util.slurpersupport.GPathResult
|
getPluginMetadata(java.lang.String pluginName)
|
protected groovy.util.slurpersupport.GPathResult
|
parsePluginList(org.springframework.core.io.Resource pluginsListFile)
|
groovy.util.slurpersupport.GPathResult
|
publishRelease(java.lang.String pluginName, org.springframework.core.io.Resource pluginsList, boolean makeLatest)
Publishes a plugin release to the given plugin list |
groovy.util.slurpersupport.GPathResult
|
publishRelease(java.lang.String pluginName, org.springframework.core.io.Resource pluginsList)
|
void
|
writePluginList(groovy.util.slurpersupport.GPathResult pluginList, java.io.Writer targetWriter)
Writes the given plugin list to the given writer |
Methods inherited from class java.lang.Object | |
---|---|
java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Property Detail |
---|
java.io.File baseDir
java.lang.String repositoryURL
java.lang.String revision
Constructor Detail |
---|
DefaultPluginPublisher(java.io.File baseDir, java.lang.String revNumber, java.lang.String repositoryURL)
DefaultPluginPublisher(java.lang.String revNumber, java.lang.String repositoryURL)
Method Detail |
---|
protected groovy.util.slurpersupport.GPathResult getPluginMetadata(java.lang.String pluginName)
protected groovy.util.slurpersupport.GPathResult parsePluginList(org.springframework.core.io.Resource pluginsListFile)
groovy.util.slurpersupport.GPathResult publishRelease(java.lang.String pluginName, org.springframework.core.io.Resource pluginsList, boolean makeLatest)
pluginName
- the name of the pluginpluginsListFile
- The plugin list filemakeLatest
- Whether to make the release the latest release
groovy.util.slurpersupport.GPathResult publishRelease(java.lang.String pluginName, org.springframework.core.io.Resource pluginsList)
void writePluginList(groovy.util.slurpersupport.GPathResult pluginList, java.io.Writer targetWriter)
Groovy Documentation