Class FilenameChoiceListProvider.DescriptorImpl
- java.lang.Object
-
- hudson.model.Descriptor<ChoiceListProvider>
-
- jp.ikedam.jenkins.plugins.extensible_choice_parameter.FilenameChoiceListProvider.DescriptorImpl
-
- Enclosing class:
- FilenameChoiceListProvider
@Extension public static class FilenameChoiceListProvider.DescriptorImpl extends Descriptor<ChoiceListProvider>
Class for view.
-
-
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
doCheckBaseDirPath(String baseDirPath)
Validate a value inputed for baseDirPath Checks followings: * not blank * specified path exists * specified path is a directory.FormValidation
doCheckExcludePattern(String excludePattern)
Validate a value inputed for excludePattern always ok.FormValidation
doCheckIncludePattern(String includePattern)
Validate a value inputed for includePattern Checks followings: * not blankFormValidation
doTest(String baseDirPath, String includePattern, String excludePattern, FilenameChoiceListProvider.ScanType scanType, boolean reverseOrder, FilenameChoiceListProvider.EmptyChoiceType emptyChoiceType)
Test what files will be listed.String
getDisplayName()
Returns the name for displaying.-
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
-
getDisplayName
public String getDisplayName()
Returns the name for displaying.- Overrides:
getDisplayName
in classDescriptor<ChoiceListProvider>
- Returns:
- the name for displaying
-
doCheckBaseDirPath
public FormValidation doCheckBaseDirPath(@QueryParameter String baseDirPath)
Validate a value inputed for baseDirPath Checks followings: * not blank * specified path exists * specified path is a directory.- Parameters:
baseDirPath
-- Returns:
- FormValidation object
-
doCheckIncludePattern
public FormValidation doCheckIncludePattern(@QueryParameter String includePattern)
Validate a value inputed for includePattern Checks followings: * not blank- Parameters:
includePattern
-- Returns:
- FormValidation object
-
doCheckExcludePattern
public FormValidation doCheckExcludePattern(@QueryParameter String excludePattern)
Validate a value inputed for excludePattern always ok.- Parameters:
excludePattern
-- Returns:
- FormValidation object
-
doTest
public FormValidation doTest(@QueryParameter String baseDirPath, @QueryParameter String includePattern, @QueryParameter String excludePattern, @QueryParameter FilenameChoiceListProvider.ScanType scanType, @QueryParameter boolean reverseOrder, @QueryParameter FilenameChoiceListProvider.EmptyChoiceType emptyChoiceType)
Test what files will be listed.- Parameters:
baseDirPath
-includePattern
-excludePattern
-scanType
-- Returns:
-
-