@Extension public static final class FailureCause.FailureCauseDescriptor extends hudson.model.Descriptor<FailureCause>
Constructor and Description |
---|
FailureCauseDescriptor() |
Modifier and Type | Method and Description |
---|---|
hudson.model.AutoCompletionCandidates |
doAutoCompleteCategories(String value)
Does the auto completion for categories, matching with any category already present in the knowledge base.
|
hudson.util.FormValidation |
doCheckDescription(String value)
Form validation for
FailureCause.description . |
hudson.util.FormValidation |
doCheckName(String value,
String id)
Form validation for
FailureCause.name . |
String |
getDisplayName() |
String |
getLastFailedBuildUrl() |
void |
setLastFailedBuildUrl()
Set the URL of the last failed build of the project from whose page the Failure Cause Management
page was entered.
|
addHelpFileRedirect, calcAutoCompleteSettings, calcFillSettings, configure, 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 String getLastFailedBuildUrl()
public void setLastFailedBuildUrl()
public String getDisplayName()
getDisplayName
in class hudson.model.Descriptor<FailureCause>
public hudson.util.FormValidation doCheckDescription(@QueryParameter String value)
FailureCause.description
. Checks for not empty and not "Description..."value
- the form value.FormValidation.ok()
if everything is well.public hudson.util.FormValidation doCheckName(@QueryParameter String value, @QueryParameter String id)
FailureCause.name
. Checks for not empty, not "New...",
Jenkins.checkGoodName(String)
and
that it is unique based on the cache of existing causes.value
- the form value.id
- The id (if changing an existing cause).FormValidation.ok()
if everything is well.public hudson.model.AutoCompletionCandidates doAutoCompleteCategories(@QueryParameter String value)
value
- the input value.Copyright © 2016–2020. All rights reserved.