Class RunDashboard
- java.lang.Object
-
- hudson.model.AbstractModelObject
-
- hudson.model.View
-
- io.jenkins.plugins.devopsportal.views.RunDashboard
-
- All Implemented Interfaces:
ExtensionPoint,Describable<View>,DescriptorByNameOwner,ModelObject,Saveable,SearchableModelObject,SearchItem,AccessControlled,ModelObjectWithChildren
public class RunDashboard extends View
Type of view displaying information on application deployments and the status of monitored services.- Author:
- Rémi BELLO <remi@evolya.fr>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classRunDashboard.DescriptorImpl-
Nested classes/interfaces inherited from class hudson.model.View
View.AsynchPeople, View.People, View.PropertyList, View.UserInfo
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Field Summary
-
Fields inherited from class hudson.model.View
CONFIGURE, CREATE, DELETE, description, filterExecutors, filterQueue, LIST, name, NEW_PRONOUN, owner, PERMISSIONS, READ, SORTER
-
-
Constructor Summary
Constructors Constructor Description RunDashboard(String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancontains(TopLevelItem item)ItemdoCreateItem(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp)StringformatDateMs(Long timestamp)StringformatDatetimeSeconds(Long timestamp)StringformatUptime(long timestamp)StringgetFilter()Collection<TopLevelItem>getItems()StringgetRootURL()voidsetFilter(String filter)protected voidsubmit(org.kohsuke.stapler.StaplerRequest req)-
Methods inherited from class hudson.model.View
all, allInstantiable, create, createViewFromXML, doCheckJobName, doChildrenContextMenu, doConfigDotXml, doConfigSubmit, doDoDelete, doItemCategories, doRssAll, doRssFailed, doRssLatest, doSubmitDescription, getAbsoluteUrl, getACL, getActions, getAllItems, getAllProperties, getApi, getApplicablePropertyDescriptors, getApproximateQueueItemsQuickly, getAsynchPeople, getBuilds, getColumns, getComputers, getDescription, getDescriptor, getDisplayName, getDynamic, getIndenter, getItem, getItemCreatePermission, getJob, getNewPronoun, getOwner, getOwnerItemGroup, getOwnerPrimaryView, getOwnerViewActions, getPeople, getPostConstructLandingPage, getProperties, getQueueItems, getSearchUrl, getTimeline, getUrl, getViewName, getViewUrl, getVisiblePropertyDescriptors, getWidgets, hasPeople, isAutomaticRefreshEnabled, isDefault, isEditable, isFilterExecutors, isFilterQueue, makeSearchIndex, makeSearchIndex, onJobRenamed, registerPermissions, rename, save, setDescription, toString, updateByXml, updateTransientActions, writeXml
-
Methods inherited from class hudson.model.AbstractModelObject
getSearch, getSearchIndex, getSearchName, requirePOST, sendError, sendError, sendError, sendError, sendError
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface hudson.security.AccessControlled
checkAnyPermission, checkPermission, hasAnyPermission, hasPermission, hasPermission, hasPermission2
-
Methods inherited from interface hudson.model.DescriptorByNameOwner
getDescriptorByName
-
-
-
-
Constructor Detail
-
RunDashboard
@DataBoundConstructor public RunDashboard(String name)
-
-
Method Detail
-
getItems
@NonNull public Collection<TopLevelItem> getItems()
-
contains
public boolean contains(TopLevelItem item)
-
submit
protected void submit(org.kohsuke.stapler.StaplerRequest req) throws IOException, javax.servlet.ServletException, Descriptor.FormException- Specified by:
submitin classView- Throws:
IOExceptionjavax.servlet.ServletExceptionDescriptor.FormException
-
doCreateItem
public Item doCreateItem(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp) throws IOException, javax.servlet.ServletException
- Specified by:
doCreateItemin classView- Throws:
IOExceptionjavax.servlet.ServletException
-
getFilter
public String getFilter()
-
setFilter
@DataBoundSetter public void setFilter(String filter)
-
formatUptime
public String formatUptime(long timestamp)
-
getRootURL
public String getRootURL()
-
-