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

java.lang.Object
  上位を拡張 hudson.model.UpdateSite
      上位を拡張 jp.ikedam.jenkins.plugins.updatesitesmanager.DescribedUpdateSite
すべての実装されたインタフェース:
hudson.ExtensionPoint, hudson.model.Describable<DescribedUpdateSite>, hudson.model.ModelObject, Serializable, jenkins.model.ModelObjectWithContextMenu
直系の既知のサブクラス:
DescribedUpdateSiteWrapper, ManagedUpdateSite

public abstract class DescribedUpdateSite
extends hudson.model.UpdateSite
implements hudson.model.Describable<DescribedUpdateSite>, hudson.ExtensionPoint, Serializable, jenkins.model.ModelObjectWithContextMenu

Base for UpdateSite that have Descriptor.

関連項目:
直列化された形式

入れ子のクラスの概要
static class DescribedUpdateSite.Descriptor
          Base class for Descriptor of subclass of DescribedUpdateSite
 
クラス hudson.model.UpdateSite から継承された入れ子のクラス/インタフェース
hudson.model.UpdateSite.Data, hudson.model.UpdateSite.Entry, hudson.model.UpdateSite.Plugin
 
インタフェース hudson.ExtensionPoint から継承された入れ子のクラス/インタフェース
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson
 
インタフェース jenkins.model.ModelObjectWithContextMenu から継承された入れ子のクラス/インタフェース
jenkins.model.ModelObjectWithContextMenu.ContextMenu, jenkins.model.ModelObjectWithContextMenu.MenuItem
 
フィールドの概要
 
クラス hudson.model.UpdateSite から継承されたフィールド
neverUpdate, signatureCheck
 
コンストラクタの概要
DescribedUpdateSite(String id, String url)
          Constructor
 
メソッドの概要
static hudson.DescriptorExtensionList<DescribedUpdateSite,DescribedUpdateSite.Descriptor> all()
          Returns all DescribedUpdateSite classes registered to Jenkins.
 org.kohsuke.stapler.HttpResponse doConfigure(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp)
          Process to update request.
 jenkins.model.ModelObjectWithContextMenu.ContextMenu doContextMenu(org.kohsuke.stapler.StaplerRequest request, org.kohsuke.stapler.StaplerResponse response)
          Returns ContextMenu shown in UpdateSite list page.
 org.kohsuke.stapler.HttpResponse doDelete(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp)
          Process delete request.
 List<hudson.model.UpdateSite.Plugin> getAvailables()
          Returns a list of plugins that should be shown in the "available" tab.
 DescribedUpdateSite.Descriptor getDescriptor()
          Returns the descriptor for this class.
 String getDisplayName()
          Returns the name of this site.
 String getNote()
          Returns note Provided for users to note about this UpdateSite.
 String getPageUrl()
          Returns the relative URL to manage this UpdateSite.
 List<hudson.model.UpdateSite.Plugin> getUpdates()
          Returns the list of plugins that are updates to currently installed ones.
 hudson.model.UpdateSite getUpdateSite()
          Returns UpdateSite to register to Jenkins.
 boolean hasUpdates()
          Does any of the plugin has updates?
 boolean isDisabled()
          Returns whether this UpdateSite is disabled.
 boolean isDue()
          Returns true if it's time for us to check for new version.
 boolean isEditable()
          Returns whether this UpdateSite is editable in UpdateSitesManager.
 
クラス hudson.model.UpdateSite から継承されたメソッド
doInvalidateData, doPostBack, doVerifySignature, getConnectionCheckUrl, getData, getDataTimestamp, getDownloadUrl, getId, getJSONObject, getPlugin, getUrl, isLegacyDefault
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

DescribedUpdateSite

public DescribedUpdateSite(String id,
                           String url)
Constructor

パラメータ:
id -
url -
メソッドの詳細

getUpdateSite

public hudson.model.UpdateSite getUpdateSite()
Returns UpdateSite to register to Jenkins.

戻り値:
UpdateSite to register to Jenkins

getDisplayName

public String getDisplayName()
Returns the name of this site.

定義:
インタフェース hudson.model.ModelObject 内の getDisplayName
戻り値:
the name of this site
関連項目:
ModelObject.getDisplayName()

getPageUrl

public String getPageUrl()
Returns the relative URL to manage this UpdateSite. This method is usually named getUrl. But getUrl is already used in UpdateSite, use this method instead.

戻り値:
the relative URL to manage this UpdateSite

isEditable

public boolean isEditable()
Returns whether this UpdateSite is editable in UpdateSitesManager. Return false if the UpdateSite should be managed in another place (e.g. plugin managing its UpdateSite).

戻り値:
whether this UpdateSite is editable

isDisabled

public boolean isDisabled()
Returns whether this UpdateSite is disabled. Returning true makes Jenkins ignore the plugins in this UpdateSite.

戻り値:
whether this UpdateSite is disabled.

getNote

public String getNote()
Returns note Provided for users to note about this UpdateSite. Used only for displaying purpose.

戻り値:
note

getAvailables

public List<hudson.model.UpdateSite.Plugin> getAvailables()
Returns a list of plugins that should be shown in the "available" tab. Returns nothing when disabled.

オーバーライド:
クラス hudson.model.UpdateSite 内の getAvailables
戻り値:
関連項目:
UpdateSite.getAvailables()

getUpdates

public List<hudson.model.UpdateSite.Plugin> getUpdates()
Returns the list of plugins that are updates to currently installed ones. Returns nothing when disabled.

オーバーライド:
クラス hudson.model.UpdateSite 内の getUpdates
戻り値:
関連項目:
UpdateSite.getUpdates()

isDue

public boolean isDue()
Returns true if it's time for us to check for new version. Always returns false when disabled.

オーバーライド:
クラス hudson.model.UpdateSite 内の isDue
戻り値:
関連項目:
UpdateSite.isDue()

hasUpdates

public boolean hasUpdates()
Does any of the plugin has updates? Always returns false when disabled.

オーバーライド:
クラス hudson.model.UpdateSite 内の hasUpdates
戻り値:
any of the plugin has updates?
関連項目:
UpdateSite.hasUpdates()

doConfigure

public org.kohsuke.stapler.HttpResponse doConfigure(org.kohsuke.stapler.StaplerRequest req,
                                                    org.kohsuke.stapler.StaplerResponse rsp)
                                             throws hudson.model.Descriptor.FormException,
                                                    javax.servlet.ServletException,
                                                    IOException
Process to update request.

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

doDelete

public org.kohsuke.stapler.HttpResponse doDelete(org.kohsuke.stapler.StaplerRequest req,
                                                 org.kohsuke.stapler.StaplerResponse rsp)
                                          throws hudson.model.Descriptor.FormException,
                                                 IOException
Process delete request.

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

doContextMenu

public jenkins.model.ModelObjectWithContextMenu.ContextMenu doContextMenu(org.kohsuke.stapler.StaplerRequest request,
                                                                          org.kohsuke.stapler.StaplerResponse response)
                                                                   throws Exception
Returns ContextMenu shown in UpdateSite list page.

定義:
インタフェース jenkins.model.ModelObjectWithContextMenu 内の doContextMenu
パラメータ:
request -
response -
戻り値:
例外:
Exception
関連項目:
ModelObjectWithContextMenu.doContextMenu(org.kohsuke.stapler.StaplerRequest, org.kohsuke.stapler.StaplerResponse)

all

public static hudson.DescriptorExtensionList<DescribedUpdateSite,DescribedUpdateSite.Descriptor> all()
Returns all DescribedUpdateSite classes registered to Jenkins.

戻り値:
the list of Descriptor of DescribedUpdateSite subclasses.

getDescriptor

public DescribedUpdateSite.Descriptor getDescriptor()
Returns the descriptor for this class.

定義:
インタフェース hudson.model.Describable<DescribedUpdateSite> 内の getDescriptor
戻り値:
the descriptor for this class.
関連項目:
Describable.getDescriptor()


Copyright © 2004-2013. All Rights Reserved.