@Symbol(value={"notifyBitbucket","notifyStash"})
@Extension
public static final class StashNotifier.DescriptorImpl
extends hudson.tasks.BuildStepDescriptor<hudson.tasks.Publisher>
| Modifier | Constructor and Description |
|---|---|
|
DescriptorImpl() |
protected |
DescriptorImpl(boolean load) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
configure(org.kohsuke.stapler.StaplerRequest req,
net.sf.json.JSONObject formData) |
hudson.util.FormValidation |
doCheckCredentialsId(String value,
hudson.model.Item project) |
hudson.util.FormValidation |
doCheckStashServerBaseUrl(String value) |
hudson.util.ListBoxModel |
doFillCredentialsIdItems(hudson.model.Item project) |
String |
getCredentialsId() |
String |
getDisplayName() |
String |
getStashRootUrl() |
boolean |
isApplicable(Class<? extends hudson.model.AbstractProject> aClass) |
boolean |
isConsiderUnstableAsSuccess() |
boolean |
isDisableInprogressNotification() |
boolean |
isIgnoreUnverifiedSsl() |
boolean |
isIncludeBuildNumberInKey() |
boolean |
isPrependParentProjectKey() |
void |
setConsiderUnstableAsSuccess(boolean considerUnstableAsSuccess) |
void |
setCredentialsId(String credentialsId) |
void |
setDisableInprogressNotification(boolean disableInprogressNotification) |
void |
setIgnoreUnverifiedSsl(boolean ignoreUnverifiedSsl) |
void |
setIncludeBuildNumberInKey(boolean includeBuildNumberInKey) |
void |
setPrependParentProjectKey(boolean prependParentProjectKey) |
void |
setStashRootUrl(String stashRootUrl) |
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, toMappublic DescriptorImpl()
protected DescriptorImpl(boolean load)
public hudson.util.ListBoxModel doFillCredentialsIdItems(@AncestorInPath
hudson.model.Item project)
public boolean isConsiderUnstableAsSuccess()
@DataBoundSetter public void setConsiderUnstableAsSuccess(boolean considerUnstableAsSuccess)
public String getCredentialsId()
@DataBoundSetter public void setCredentialsId(String credentialsId)
public boolean isDisableInprogressNotification()
@DataBoundSetter public void setDisableInprogressNotification(boolean disableInprogressNotification)
public boolean isIgnoreUnverifiedSsl()
@DataBoundSetter public void setIgnoreUnverifiedSsl(boolean ignoreUnverifiedSsl)
public boolean isIncludeBuildNumberInKey()
@DataBoundSetter public void setIncludeBuildNumberInKey(boolean includeBuildNumberInKey)
public boolean isPrependParentProjectKey()
@DataBoundSetter public void setPrependParentProjectKey(boolean prependParentProjectKey)
public String getStashRootUrl()
@DataBoundSetter public void setStashRootUrl(String stashRootUrl)
public hudson.util.FormValidation doCheckCredentialsId(@QueryParameter
String value,
@AncestorInPath
hudson.model.Item project)
throws IOException,
javax.servlet.ServletException
IOExceptionjavax.servlet.ServletExceptionpublic hudson.util.FormValidation doCheckStashServerBaseUrl(@QueryParameter
String value)
throws IOException,
javax.servlet.ServletException
IOExceptionjavax.servlet.ServletExceptionpublic boolean isApplicable(Class<? extends hudson.model.AbstractProject> aClass)
isApplicable in class hudson.tasks.BuildStepDescriptor<hudson.tasks.Publisher>public String getDisplayName()
getDisplayName in class hudson.model.Descriptor<hudson.tasks.Publisher>public boolean configure(org.kohsuke.stapler.StaplerRequest req,
net.sf.json.JSONObject formData)
throws hudson.model.Descriptor.FormException
configure in class hudson.model.Descriptor<hudson.tasks.Publisher>hudson.model.Descriptor.FormExceptionCopyright © 2016–2021. All rights reserved.