org.jvnet.hudson.update_center
Class Plugin

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

public class Plugin
extends Object

An entry of a plugin in the update center metadata.

Author:
Kohsuke Kawaguchi

Field Summary
 String artifactId
          Plugin artifact ID.
 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(String artifactId, HPI latest, HPI previous, ConfluencePluginList cpl)
           
 
Method Summary
 String getExcerptInHTML()
          Obtains the excerpt of this wiki page in HTML.
 String[] getLabels()
           
 String getTitle()
           
 String getWiki()
           
 boolean isDeprecated()
           
 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 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.

Constructor Detail

Plugin

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

getLabels

public String[] getLabels()

isDeprecated

public boolean isDeprecated()

getExcerptInHTML

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


getTitle

public String getTitle()

getWiki

public String getWiki()

toJSON

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


Copyright © 2004-2011. All Rights Reserved.