@Extension
public static class BuildEnvironmentForCreateIssueOnFailure.DescriptorImpl
extends hudson.tasks.BuildWrapperDescriptor
Constructor and Description |
---|
DescriptorImpl() |
Modifier and Type | Method and Description |
---|---|
boolean |
configure(org.kohsuke.stapler.StaplerRequest req,
net.sf.json.JSONObject json) |
hudson.util.FormValidation |
doCheckAssignee(String assignee) |
hudson.util.FormValidation |
doCheckDescription(String description) |
hudson.util.FormValidation |
doCheckName(String name) |
hudson.util.FormValidation |
doCheckPrefix(String prefix) |
hudson.util.ListBoxModel |
doFillAttachmentItems() |
hudson.util.ListBoxModel |
doFillTypeItems() |
String |
getDisplayName() |
boolean |
isApplicable(hudson.model.AbstractProject<?,?> item) |
addHelpFileRedirect, calcAutoCompleteSettings, calcFillSettings, configure, doHelp, find, find, findByDescribableClassName, findById, getCategory, getCheckMethod, getCheckUrl, getConfigFile, getConfigPage, getCurrentDescriptorByNameUrl, getDescriptorFullUrl, getDescriptorUrl, getGlobalConfigPage, getGlobalPropertyType, getHelpFile, getHelpFile, getHelpFile, getId, getJsonSafeClassName, getKlass, getPlugin, getPossibleViewNames, getPropertyType, getPropertyType, getPropertyTypeOrDie, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
public boolean isApplicable(hudson.model.AbstractProject<?,?> item)
isApplicable
in class hudson.tasks.BuildWrapperDescriptor
item
- project object@Nonnull public String getDisplayName()
getDisplayName
in class hudson.model.Descriptor<hudson.tasks.BuildWrapper>
public hudson.util.FormValidation doCheckPrefix(@QueryParameter String prefix)
prefix
- To where the item to be created {prefix} Backlog/sprintpublic hudson.util.FormValidation doCheckName(@QueryParameter String name)
name
- Name of the Sprints Itempublic hudson.util.FormValidation doCheckDescription(@QueryParameter String description)
description
- Description of the Sprints Itempublic hudson.util.FormValidation doCheckAssignee(@QueryParameter String assignee)
assignee
- Assignee of the Sprint Itempublic hudson.util.ListBoxModel doFillTypeItems()
public hudson.util.ListBoxModel doFillAttachmentItems()
public boolean configure(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject json) throws hudson.model.Descriptor.FormException
configure
in class hudson.model.Descriptor<hudson.tasks.BuildWrapper>
req
- request objjson
- Object which contains values and keyFormException
- if querying of form throws an errorhudson.model.Descriptor.FormException
Copyright © 2016–2021. All rights reserved.