public class DashboardView
extends hudson.model.View
Modifier and Type | Field and Description |
---|---|
static DashboardViewDescriptor |
DESCRIPTOR |
static String |
PARAM_AWS_KEY |
static String |
PARAM_EC2_REGION |
static String |
PARAM_ENVIRONMENT |
static String |
PARAM_VERSION |
Constructor and Description |
---|
DashboardView(String name) |
DashboardView(String name,
boolean showDeployField,
String groupId,
String artefactId,
List<Environment> environments) |
DashboardView(String name,
hudson.model.ViewGroup owner) |
Modifier and Type | Method and Description |
---|---|
boolean |
contains(hudson.model.TopLevelItem item)
Checks if the job is in this collection.
|
String |
deploy(String version,
String environment) |
hudson.model.Item |
doCreateItem(org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse rsp)
Creates a new
Item in this collection. |
String |
getArtefactId() |
List<Artifact> |
getArtifacts() |
hudson.model.ViewDescriptor |
getDescriptor() |
String |
getDisplayDeployField() |
List<Environment> |
getEnvironments() |
String |
getGroupId() |
Collection<hudson.model.TopLevelItem> |
getItems()
Gets all the items in this collection in a read-only view.
|
List<ServerEnvironment> |
getMatchingEC2Environments() |
boolean |
getShowDeployField() |
void |
setArtefactId(String artefactId) |
void |
setEnvironments(List<Environment> environmentsList) |
void |
setGroupId(String groupId) |
void |
setShowDeployField(boolean showDeployField) |
protected void |
submit(org.kohsuke.stapler.StaplerRequest req)
Handles the configuration submission.
|
all, allInstantiable, checkPermission, create, createViewFromXML, doChildrenContextMenu, doConfigDotXml, doConfigSubmit, doDoDelete, doRssAll, doRssFailed, doRssLatest, doSubmitDescription, getAbsoluteUrl, getACL, getActions, getAllItems, getAllProperties, getApi, getApplicablePropertyDescriptors, getApproximateQueueItemsQuickly, getAsynchPeople, getBuilds, getColumns, getComputers, getDescription, getDisplayName, getDynamic, getIndenter, getItem, getItemCreatePermission, getJob, getNewPronoun, getOwner, getOwnerItemGroup, getOwnerPrimaryView, getOwnerViewActions, getPeople, getPostConstructLandingPage, getProperties, getQueueItems, getSearchUrl, getTimeline, getUrl, getViewName, getViewUrl, getWidgets, hasPeople, hasPermission, isAutomaticRefreshEnabled, isDefault, isEditable, isFilterExecutors, isFilterQueue, makeSearchIndex, onJobRenamed, rename, save, toString, updateByXml, updateTransientActions, writeXml
@Extension public static final DashboardViewDescriptor DESCRIPTOR
public static final String PARAM_VERSION
public static final String PARAM_ENVIRONMENT
public static final String PARAM_EC2_REGION
public static final String PARAM_AWS_KEY
public DashboardView(String name)
public DashboardView(String name, hudson.model.ViewGroup owner)
@DataBoundConstructor public DashboardView(String name, boolean showDeployField, String groupId, String artefactId, List<Environment> environments)
public hudson.model.ViewDescriptor getDescriptor()
getDescriptor
in interface hudson.model.Describable<hudson.model.View>
getDescriptor
in class hudson.model.View
public Collection<hudson.model.TopLevelItem> getItems()
getItems
in class hudson.model.View
public boolean contains(hudson.model.TopLevelItem item)
contains
in class hudson.model.View
protected void submit(org.kohsuke.stapler.StaplerRequest req) throws IOException, javax.servlet.ServletException, hudson.model.Descriptor.FormException
submit
in class hudson.model.View
IOException
javax.servlet.ServletException
hudson.model.Descriptor.FormException
public hudson.model.Item doCreateItem(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp) throws IOException, javax.servlet.ServletException
Item
in this collection.
This method should call
ModifiableItemGroup.doCreateItem(org.kohsuke.stapler.StaplerRequest, org.kohsuke.stapler.StaplerResponse)
and then add the newly created item to this view.doCreateItem
in class hudson.model.View
IOException
javax.servlet.ServletException
public String getDisplayDeployField()
public boolean getShowDeployField()
public void setShowDeployField(boolean showDeployField)
public String getArtefactId()
public void setArtefactId(String artefactId)
public String getGroupId()
public void setGroupId(String groupId)
public List<ServerEnvironment> getMatchingEC2Environments()
public List<Environment> getEnvironments()
public void setEnvironments(List<Environment> environmentsList)
Copyright © 2004-2015. All Rights Reserved.