|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecthudson.model.ManagementLink
jp.ikedam.jenkins.plugins.updatesitesmanager.UpdateSitesManager
@Extension(ordinal=2.147483237E9) public class UpdateSitesManager
Page for manage UpdateSites. Provides following page.
| Nested Class Summary | |
|---|---|
static class |
UpdateSitesManager.IdExtractor
Helps to check duplication |
static class |
UpdateSitesManager.IsSiteManaged
This predicate helps to filter which sites should be shown on UI as editable/not editable |
static class |
UpdateSitesManager.WithBlankId
Helps to check ids is blank |
| Nested classes/interfaces inherited from interface hudson.ExtensionPoint |
|---|
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson |
| Field Summary | |
|---|---|
static String |
URL
|
| Fields inherited from class hudson.model.ManagementLink |
|---|
LIST |
| Constructor Summary | |
|---|---|
UpdateSitesManager()
|
|
| Method Summary | |
|---|---|
void |
doUpdate(org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse rsp,
List<hudson.model.UpdateSite> managed)
Update all registered sites with concatenation of managed and not managed |
String |
getDescription()
Return the description shown in Manage Jenkins page. |
String |
getDisplayName()
Return the name of the link shown in Manage Jenkins page. |
String |
getIconFileName()
Return the icon file name shown in Manage Jenkins page. |
List<hudson.model.UpdateSite> |
getManagedUpdateSiteList()
Return a list of custom UpdateSites registered in Jenkins. |
List<hudson.model.UpdateSite> |
getNotManagedUpdateSiteList()
Return a list of not custom UpdateSites registered in Jenkins. |
List<DescribedUpdateSiteDescriptopr> |
getUpdateSiteDescriptorList()
Returns all the registered DescribedUpdateSite. |
String |
getUrlName()
Return the name used in url. |
| Methods inherited from class hudson.model.ManagementLink |
|---|
all, getRequiredPermission, getRequiresConfirmation, getRequiresPOST |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String URL
| Constructor Detail |
|---|
public UpdateSitesManager()
| Method Detail |
|---|
public String getDisplayName()
Action.getDisplayName()public String getIconFileName()
getIconFileName in interface hudson.model.ActiongetIconFileName in class hudson.model.ManagementLinkManagementLink.getIconFileName()public String getDescription()
getDescription in class hudson.model.ManagementLinkManagementLink.getDescription()public String getUrlName()
getUrlName in interface hudson.model.ActiongetUrlName in class hudson.model.ManagementLinkManagementLink.getUrlName()public List<hudson.model.UpdateSite> getManagedUpdateSiteList()
public List<hudson.model.UpdateSite> getNotManagedUpdateSiteList()
public List<DescribedUpdateSiteDescriptopr> getUpdateSiteDescriptorList()
@OnlyAdminister
@IgnoreNotPOST
public void doUpdate(org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse rsp,
@Sites
List<hudson.model.UpdateSite> managed)
throws javax.servlet.ServletException,
IOException,
hudson.model.Descriptor.FormException
managed - managed sites form submitted form
javax.servlet.ServletException
IOException
hudson.model.Descriptor.FormException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||