Package jenkins.plugins.collabnet.steps
Class PublishWebhookStep.DescriptorImpl
- java.lang.Object
-
- hudson.model.Descriptor<org.jenkinsci.plugins.workflow.steps.Step>
-
- org.jenkinsci.plugins.workflow.steps.StepDescriptor
-
- jenkins.plugins.collabnet.steps.PublishWebhookStep.DescriptorImpl
-
- Enclosing class:
- PublishWebhookStep
@Extension public static class PublishWebhookStep.DescriptorImpl extends org.jenkinsci.plugins.workflow.steps.StepDescriptor
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class hudson.model.Descriptor
Descriptor.FormException, Descriptor.PropertyType, Descriptor.Self
-
-
Field Summary
-
Fields inherited from class hudson.model.Descriptor
clazz
-
-
Constructor Summary
Constructors Constructor Description DescriptorImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FormValidation
doCheckCredentialsId(String credentialsId, Item owner)
FormValidation
doCheckStatus(String status)
Validates that the user provided status.FormValidation
doCheckWebhookUrl(String webhookUrl)
Validates that the user provided a server URL.ListBoxModel
doFillCredentialsIdItems(Item owner)
ListBoxModel
doFillStatusItems()
String
getDisplayName()
String
getFunctionName()
Set<Class<?>>
getRequiredContext()
-
Methods inherited from class org.jenkinsci.plugins.workflow.steps.StepDescriptor
all, allMeta, argumentsToString, byFunctionName, checkContextAvailability, defineArguments, getMetaStepArgumentType, getProvidedContext, isAdvanced, isMetaStep, metaStepsOf, newInstance, takesImplicitBlockArgument, uninstantiate
-
Methods inherited from class hudson.model.Descriptor
addHelpFileRedirect, bindJSON, 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, getRequiredGlobalConfigPagePermission, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
-
-
-
-
Method Detail
-
getFunctionName
public String getFunctionName()
- Specified by:
getFunctionName
in classorg.jenkinsci.plugins.workflow.steps.StepDescriptor
-
getDisplayName
public String getDisplayName()
- Overrides:
getDisplayName
in classDescriptor<org.jenkinsci.plugins.workflow.steps.Step>
-
getRequiredContext
public Set<Class<?>> getRequiredContext()
- Specified by:
getRequiredContext
in classorg.jenkinsci.plugins.workflow.steps.StepDescriptor
-
doFillStatusItems
public ListBoxModel doFillStatusItems()
-
doCheckWebhookUrl
public FormValidation doCheckWebhookUrl(@QueryParameter String webhookUrl)
Validates that the user provided a server URL.- Parameters:
webhookUrl
- the URL provided by the user- Returns:
- whether or not the validation succeeded
-
doCheckStatus
public FormValidation doCheckStatus(@QueryParameter String status)
Validates that the user provided status.- Parameters:
status
- the status provided by the user- Returns:
- whether or not the validation succeeded
-
doCheckCredentialsId
public FormValidation doCheckCredentialsId(@QueryParameter String credentialsId, @AncestorInPath Item owner)
-
doFillCredentialsIdItems
public ListBoxModel doFillCredentialsIdItems(@AncestorInPath Item owner)
-
-