Package io.snyk.jenkins
Class SnykStepBuilder.SnykStepBuilderDescriptor
- java.lang.Object
-
- hudson.model.Descriptor<T>
-
- hudson.tasks.BuildStepDescriptor<Builder>
-
- io.snyk.jenkins.SnykStepBuilder.SnykStepBuilderDescriptor
-
- Enclosing class:
- SnykStepBuilder
@Extension public static class SnykStepBuilder.SnykStepBuilderDescriptor extends BuildStepDescriptor<Builder>
-
-
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 SnykStepBuilderDescriptor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FormValidation
doCheckOrganisation(String value, String additionalArguments)
FormValidation
doCheckProjectName(String value, String monitorProjectOnBuild, String additionalArguments)
FormValidation
doCheckSeverity(String value, String additionalArguments)
FormValidation
doCheckSnykTokenId(Item item, String value)
FormValidation
doCheckTargetFile(String value, String additionalArguments)
ListBoxModel
doFillSeverityItems()
ListBoxModel
doFillSnykTokenIdItems(Item item, String snykTokenId)
String
getDisplayName()
SnykInstallation[]
getInstallations()
boolean
hasInstallationsAvailable()
boolean
isApplicable(Class<? extends AbstractProject> jobType)
void
setInstallations(SnykInstallation... installations)
-
Methods inherited from class hudson.tasks.BuildStepDescriptor
filter
-
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, getStaticHelpUrl, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
-
-
-
-
Method Detail
-
getDisplayName
@Nonnull public String getDisplayName()
- Overrides:
getDisplayName
in classDescriptor<Builder>
-
isApplicable
public boolean isApplicable(Class<? extends AbstractProject> jobType)
- Specified by:
isApplicable
in classBuildStepDescriptor<Builder>
-
getInstallations
public SnykInstallation[] getInstallations()
-
setInstallations
public void setInstallations(SnykInstallation... installations)
-
hasInstallationsAvailable
public boolean hasInstallationsAvailable()
-
doFillSeverityItems
public ListBoxModel doFillSeverityItems()
-
doFillSnykTokenIdItems
public ListBoxModel doFillSnykTokenIdItems(@AncestorInPath Item item, @QueryParameter String snykTokenId)
-
doCheckSeverity
public FormValidation doCheckSeverity(@QueryParameter String value, @QueryParameter String additionalArguments)
-
doCheckSnykTokenId
public FormValidation doCheckSnykTokenId(@AncestorInPath Item item, @QueryParameter String value)
-
doCheckTargetFile
public FormValidation doCheckTargetFile(@QueryParameter String value, @QueryParameter String additionalArguments)
-
doCheckOrganisation
public FormValidation doCheckOrganisation(@QueryParameter String value, @QueryParameter String additionalArguments)
-
doCheckProjectName
public FormValidation doCheckProjectName(@QueryParameter String value, @QueryParameter String monitorProjectOnBuild, @QueryParameter String additionalArguments)
-
-