Package eu.royalsloth.depbuilder.jenkins
Class DslProject.DescriptorImpl
- java.lang.Object
-
- hudson.model.Descriptor<TopLevelItem>
-
- hudson.model.TopLevelItemDescriptor
-
- hudson.model.AbstractProject.AbstractProjectDescriptor
-
- eu.royalsloth.depbuilder.jenkins.DslProject.DescriptorImpl
-
- Enclosing class:
- DslProject
@Extension(ordinal=999.0) @Symbol("depBuilderProject") public static class DslProject.DescriptorImpl extends AbstractProject.AbstractProjectDescriptor
This class is used to describe the plugin (name, description)
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class hudson.model.Descriptor
Descriptor.FormException, Descriptor.PropertyType, Descriptor.Self
-
-
Constructor Summary
Constructors Constructor Description DescriptorImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FormValidation
doCheckNumberOfGraphs(String value, DslProject project)
FormValidation
doCheckPipeline(String value, DslProject project)
FormValidation
doCheckScmFileLocation(String value, DslProject project)
FormValidation
doCheckScriptInputType(String value, DslProject project)
ComboBoxModel
doFillAgentsItems(ItemGroup context)
ComboBoxModel
doFillProjectsItems(ItemGroup context)
ListBoxModel
doFillScriptInputTypeItems(ItemGroup context)
String
getCategoryId()
String
getDescription()
String
getDisplayName()
String
getIconClassName()
TopLevelItem
newInstance(ItemGroup parent, String name)
-
Methods inherited from class hudson.model.AbstractProject.AbstractProjectDescriptor
doAutoCompleteAssignedLabelString, doAutoCompleteLabel, doAutoCompleteUpstreamProjects, doCheckAssignedLabelString, doCheckCustomWorkspace, doCheckLabel, getApplicableSCMCheckoutStrategyDescriptors, isApplicable, validateLabelExpression
-
Methods inherited from class hudson.model.TopLevelItemDescriptor
all, checkApplicableIn, getIconFilePath, getIconFilePathPattern, isApplicableIn, newInstance, newInstance, testInstance
-
Methods inherited from class hudson.model.Descriptor
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, getRequiredGlobalConfigPagePermission, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
-
-
-
-
Field Detail
-
iconUri
public static final String iconUri
- See Also:
- Constant Field Values
-
-
Method Detail
-
getDisplayName
public String getDisplayName()
- Overrides:
getDisplayName
in classTopLevelItemDescriptor
-
newInstance
public TopLevelItem newInstance(ItemGroup parent, String name)
- Specified by:
newInstance
in classTopLevelItemDescriptor
-
getDescription
@NonNull public String getDescription()
- Overrides:
getDescription
in classTopLevelItemDescriptor
-
getCategoryId
@NonNull public String getCategoryId()
- Overrides:
getCategoryId
in classTopLevelItemDescriptor
-
getIconClassName
public String getIconClassName()
- Specified by:
getIconClassName
in interfaceIconSpec
- Overrides:
getIconClassName
in classTopLevelItemDescriptor
-
doCheckScriptInputType
public FormValidation doCheckScriptInputType(@QueryParameter String value, @AncestorInPath DslProject project)
-
doFillScriptInputTypeItems
public ListBoxModel doFillScriptInputTypeItems(@AncestorInPath ItemGroup context)
-
doCheckPipeline
@POST public FormValidation doCheckPipeline(@QueryParameter String value, @AncestorInPath DslProject project)
-
doCheckScmFileLocation
@POST public FormValidation doCheckScmFileLocation(@QueryParameter String value, @AncestorInPath DslProject project)
-
doCheckNumberOfGraphs
public FormValidation doCheckNumberOfGraphs(@QueryParameter String value, @AncestorInPath DslProject project)
-
doFillProjectsItems
public ComboBoxModel doFillProjectsItems(@AncestorInPath ItemGroup context)
-
doFillAgentsItems
public ComboBoxModel doFillAgentsItems(@AncestorInPath ItemGroup context)
-
-