Class BuildPipelineView.DescriptorImpl
java.lang.Object
hudson.model.Descriptor<View>
hudson.model.ViewDescriptor
au.com.centrumsystems.hudson.plugin.buildpipeline.BuildPipelineView.DescriptorImpl
- Enclosing class:
- BuildPipelineView
This descriptor class is required to configure the View Page
-
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
ConstructorsConstructorDescriptiondescriptor impl constructor This empty constructor is required for stapler. -
Method Summary
Modifier and TypeMethodDescriptionDisplay Console Output Link Style Items in the Edit View PageDisplay No Of Builds Items in the Edit View Pageget the display nameMethods inherited from class hudson.model.ViewDescriptor
checkDisplayName, doAutoCompleteCopyNewItemFrom, getColumnsDescriptors, getJobFiltersDescriptors, getNewViewDetailPage, isApplicable, isApplicableIn, isInstantiableMethods inherited from class hudson.model.Descriptor
addHelpFileRedirect, bindJSON, bindJSON, calcAutoCompleteSettings, calcFillSettings, configure, configure, configure, doHelp, 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, getStaticHelpUrl, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
-
Constructor Details
-
DescriptorImpl
public DescriptorImpl()descriptor impl constructor This empty constructor is required for stapler. If you remove this constructor, text name of "Build Pipeline View" will be not displayed in the "NewView" page
-
-
Method Details
-
getDisplayName
get the display name- Overrides:
getDisplayNamein classViewDescriptor- Returns:
- display name
-
doFillNoOfDisplayedBuildsItems
Display No Of Builds Items in the Edit View Page- Returns:
- ListBoxModel
-
filter
public List<PipelineHeaderExtensionDescriptor> filter(BuildPipelineView.Function<PipelineHeaderExtensionDescriptor, Boolean> condition) - Parameters:
condition- if true, return it as part of the returned list- Returns:
- a filtered and ordered list of descriptors matching the condition
-
getRowHeaderDescriptors
- Returns:
- a list of PipelineHeaderExtension descriptors which can be used as a row header
-
getColumnHeaderDescriptors
- Returns:
- a list of PipelineHeaderExtension descriptors which can be used as column headers
-
getBuildCardDescriptors
- Returns:
- a list of BuildCardExtension descriptors
-
doFillConsoleOutputLinkStyleItems
Display Console Output Link Style Items in the Edit View Page- Returns:
- ListBoxModel
-