Package io.snyk.jenkins.workflow
Class SnykSecurityStep.SnykSecurityStepDescriptor
- java.lang.Object
-
- hudson.model.Descriptor<org.jenkinsci.plugins.workflow.steps.Step>
-
- org.jenkinsci.plugins.workflow.steps.StepDescriptor
-
- io.snyk.jenkins.workflow.SnykSecurityStep.SnykSecurityStepDescriptor
-
- Enclosing class:
- SnykSecurityStep
@Extension @Symbol("snykSecurity") public static class SnykSecurityStep.SnykSecurityStepDescriptor 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 SnykSecurityStepDescriptor()
-
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
getConfigPage()
String
getDisplayName()
String
getFunctionName()
SnykInstallation[]
getInstallations()
Set<? extends Class<?>>
getRequiredContext()
boolean
hasInstallationsAvailable()
-
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, 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
-
getRequiredContext
public Set<? extends Class<?>> getRequiredContext()
- Specified by:
getRequiredContext
in classorg.jenkinsci.plugins.workflow.steps.StepDescriptor
-
getFunctionName
public String getFunctionName()
- Specified by:
getFunctionName
in classorg.jenkinsci.plugins.workflow.steps.StepDescriptor
-
getDisplayName
@Nonnull public String getDisplayName()
- Overrides:
getDisplayName
in classDescriptor<org.jenkinsci.plugins.workflow.steps.Step>
-
getConfigPage
public String getConfigPage()
- Overrides:
getConfigPage
in classDescriptor<org.jenkinsci.plugins.workflow.steps.Step>
-
getInstallations
public SnykInstallation[] getInstallations()
-
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)
-
-