jp.ikedam.jenkins.plugins.updatesitesmanager
クラス UpdateSitesManager

java.lang.Object
  上位を拡張 hudson.model.ManagementLink
      上位を拡張 jp.ikedam.jenkins.plugins.updatesitesmanager.UpdateSitesManager
すべての実装されたインタフェース:
hudson.ExtensionPoint, hudson.model.Action, hudson.model.ModelObject

@Extension(ordinal=2.147483237E9)
public class UpdateSitesManager
extends hudson.model.ManagementLink

Pages for manage UpdateSites. Provides following pages.

And provides access to each updatesite configuration page.


入れ子のクラスの概要
 
インタフェース hudson.ExtensionPoint から継承された入れ子のクラス/インタフェース
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson
 
フィールドの概要
static String URL
           
 
クラス hudson.model.ManagementLink から継承されたフィールド
LIST
 
コンストラクタの概要
UpdateSitesManager()
           
 
メソッドの概要
 org.kohsuke.stapler.HttpResponse do_add(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp)
          Create a new UpdateSite.
 String getDescription()
          Return the description shown in Manage Jenkins page.
 String getDisplayName()
          Return the name of the link shown in Manage Jenkins page.
 DescribedUpdateSite getDynamic(String token)
          Allow users to access each UpdateSite page.
 String getIconFileName()
          Return the icon file name shown in Manage Jenkins page.
 List<DescribedUpdateSite.Descriptor> getUpdateSiteDescriptorList()
          Returns all the registered DescribedUpdateSite.
 List<DescribedUpdateSite> getUpdateSiteList()
          Return a list of UpdateSites registered in Jenkins.
protected  DescribedUpdateSite getUpdateSiteWithDescriptor(hudson.model.UpdateSite updateSite)
          Return DescribedUpdateSite for an UpdateSite.
 String getUrlName()
          Return the name used in url.
 
クラス hudson.model.ManagementLink から継承されたメソッド
all
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

フィールドの詳細

URL

public static final String URL
関連項目:
定数フィールド値
コンストラクタの詳細

UpdateSitesManager

public UpdateSitesManager()
メソッドの詳細

getDisplayName

public String getDisplayName()
Return the name of the link shown in Manage Jenkins page.

戻り値:
the name of the link.
関連項目:
Action.getDisplayName()

getIconFileName

public String getIconFileName()
Return the icon file name shown in Manage Jenkins page.

定義:
インタフェース hudson.model.Action 内の getIconFileName
定義:
クラス hudson.model.ManagementLink 内の getIconFileName
戻り値:
icon file name
関連項目:
ManagementLink.getIconFileName()

getDescription

public String getDescription()
Return the description shown in Manage Jenkins page.

オーバーライド:
クラス hudson.model.ManagementLink 内の getDescription
戻り値:
the description
関連項目:
ManagementLink.getDescription()

getUrlName

public String getUrlName()
Return the name used in url.

定義:
インタフェース hudson.model.Action 内の getUrlName
定義:
クラス hudson.model.ManagementLink 内の getUrlName
戻り値:
the name used in url.
関連項目:
ManagementLink.getUrlName()

getUpdateSiteWithDescriptor

protected DescribedUpdateSite getUpdateSiteWithDescriptor(hudson.model.UpdateSite updateSite)
Return DescribedUpdateSite for an UpdateSite. DescribedUpdateSite is an UpdateSite with Descriptor for used in views. If passed UpdateSite is an instance of DescribedUpdateSite, simply returns itself. If passed UpdateSite is not an instance of DescribedUpdateSite, wrap it with DescribedUpdateSiteWrapper.

パラメータ:
updateSite - an UpdateSite
戻り値:
a DescribedUpdateSite

getUpdateSiteList

public List<DescribedUpdateSite> getUpdateSiteList()
Return a list of UpdateSites registered in Jenkins. Each UpdateSites is wrapped to DescribedUpdateSite.

戻り値:
a list of UpdateSites

getUpdateSiteDescriptorList

public List<DescribedUpdateSite.Descriptor> getUpdateSiteDescriptorList()
Returns all the registered DescribedUpdateSite. Only returns DescribedUpdateSite that can be used to create a new site.

戻り値:
a list of Desctiptor of DescribedUpdateSite.

do_add

public org.kohsuke.stapler.HttpResponse do_add(org.kohsuke.stapler.StaplerRequest req,
                                               org.kohsuke.stapler.StaplerResponse rsp)
                                        throws IOException,
                                               UnsupportedEncodingException,
                                               javax.servlet.ServletException,
                                               hudson.model.Descriptor.FormException
Create a new UpdateSite. Screen transition is as following:
  1. Click "Add New Site" in /updatesites/.
  2. newSiteSelect.jelly: Select UpdateSite type. This page is shown if there are more than one DescribedUpdateSite is available.
  3. newSite.jelly: Fill Form.
  4. Post Form. /updatesites/ are shown again.

パラメータ:
req -
rsp -
戻り値:
例外:
IOException
UnsupportedEncodingException
javax.servlet.ServletException
hudson.model.Descriptor.FormException

getDynamic

public DescribedUpdateSite getDynamic(String token)
Allow users to access each UpdateSite page.

パラメータ:
token - the token from URL. that is, ${rootURL}/updatesites/${toekn}/blahblah
戻り値:


Copyright © 2004-2013. All Rights Reserved.