org.jvnet.hudson.update_center
Class Plugin

java.lang.Object
  extended by org.jvnet.hudson.update_center.Plugin

public class Plugin
extends java.lang.Object

An entry of a Hudson plugin in the update center metadata.

Author:
Kohsuke Kawaguchi

Field Summary
 java.lang.String artifactId
          Plugin artifact ID.
 java.lang.String[] labels
          Confluence labels for the plugin wiki page.
 HPI latest
          Latest version of this plugin.
 hudson.plugins.jira.soap.RemotePage page
          Confluence page of this plugin in Wiki.
 HPI previous
          Latest version of this plugin.
 
Constructor Summary
Plugin(java.lang.String artifactId, HPI latest, HPI previous, ConfluencePluginList cpl)
           
 
Method Summary
 java.lang.String getExcerptInHTML()
          Obtains the excerpt of this wiki page in HTML.
 java.lang.String getTitle()
           
 java.lang.String getWiki()
           
 net.sf.json.JSONObject toJSON()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

artifactId

public final java.lang.String artifactId
Plugin artifact ID.


latest

public final HPI latest
Latest version of this plugin.


previous

public final HPI previous
Latest version of this plugin.


page

public final hudson.plugins.jira.soap.RemotePage page
Confluence page of this plugin in Wiki. Null if we couldn't find it.


labels

public final java.lang.String[] labels
Confluence labels for the plugin wiki page. Null if wiki page wasn't found.

Constructor Detail

Plugin

public Plugin(java.lang.String artifactId,
              HPI latest,
              HPI previous,
              ConfluencePluginList cpl)
       throws java.io.IOException
Throws:
java.io.IOException
Method Detail

getExcerptInHTML

public java.lang.String getExcerptInHTML()
Obtains the excerpt of this wiki page in HTML. Otherwise null.


getTitle

public java.lang.String getTitle()

getWiki

public java.lang.String getWiki()

toJSON

public net.sf.json.JSONObject toJSON()
                              throws java.io.IOException
Throws:
java.io.IOException


Copyright © 2010. All Rights Reserved.