Class EnvDashboardView
- java.lang.Object
-
- hudson.model.AbstractModelObject
-
- hudson.model.View
-
- org.jenkinsci.plugins.environmentdashboard.EnvDashboardView
-
- All Implemented Interfaces:
ExtensionPoint
,Describable<View>
,ModelObject
,Saveable
,SearchableModelObject
,SearchItem
,AccessControlled
,ModelObjectWithChildren
public class EnvDashboardView extends View
Class to provide build wrapper for Dashboard. author vipin date 15/10/2014
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
EnvDashboardView.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 EnvDashboardView(String name, String envOrder, String compOrder, String deployHistory)
-
Method Summary
-
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, 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
-
-
-
-
Method Detail
-
submit
protected void submit(org.kohsuke.stapler.StaplerRequest req) throws IOException, javax.servlet.ServletException, Descriptor.FormException
- Specified by:
submit
in classView
- Throws:
IOException
javax.servlet.ServletException
Descriptor.FormException
-
doPurgeSubmit
public void doPurgeSubmit(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse res) throws IOException, javax.servlet.ServletException, Descriptor.FormException
- Throws:
IOException
javax.servlet.ServletException
Descriptor.FormException
-
doCreateItem
public Item doCreateItem(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp) throws IOException, javax.servlet.ServletException
- Specified by:
doCreateItem
in classView
- Throws:
IOException
javax.servlet.ServletException
-
getLimitDeployHistory
public Integer getLimitDeployHistory()
-
anyJobsConfigured
public String anyJobsConfigured()
-
getDeploymentsByComp
public ArrayList<HashMap<String,String>> getDeploymentsByComp(String comp, Integer lastDeploy)
-
getDeploymentsByCompEnv
public ArrayList<HashMap<String,String>> getDeploymentsByCompEnv(String comp, String env, Integer lastDeploy)
-
getItems
public Collection<TopLevelItem> getItems()
-
getEnvOrder
public String getEnvOrder()
-
setEnvOrder
public void setEnvOrder(String envOrder)
-
getCompOrder
public String getCompOrder()
-
setCompOrder
public void setCompOrder(String compOrder)
-
getDeployHistory
public String getDeployHistory()
-
setDeployHistory
public void setDeployHistory(String deployHistory)
-
contains
public boolean contains(TopLevelItem topLevelItem)
-
onJobRenamed
public void onJobRenamed(Item item, String s, String s2)
- Overrides:
onJobRenamed
in classView
-
-