Class PipelineHeaderExtensionDescriptor
- java.lang.Object
-
- hudson.model.Descriptor<PipelineHeaderExtension>
-
- au.com.centrumsystems.hudson.plugin.buildpipeline.extension.PipelineHeaderExtensionDescriptor
-
- All Implemented Interfaces:
ExtensionPoint
,Saveable
,Comparable<PipelineHeaderExtensionDescriptor>
,OnMaster
- Direct Known Subclasses:
BuildVariablesHeader.DescriptorImpl
,FilteredVariablesHeader.DescriptorImpl
,NullColumnHeader.DescriptorImpl
,ParametersActionHeader.DescriptorImpl
,SimpleColumnHeader.DescriptorImpl
,SimpleRowHeader.DescriptorImpl
public abstract class PipelineHeaderExtensionDescriptor extends Descriptor<PipelineHeaderExtension> implements ExtensionPoint, Comparable<PipelineHeaderExtensionDescriptor>
- Author:
- dalvizu
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class hudson.model.Descriptor
Descriptor.FormException, Descriptor.PropertyType, Descriptor.Self
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Field Summary
-
Fields inherited from class hudson.model.Descriptor
clazz
-
-
Constructor Summary
Constructors Constructor Description PipelineHeaderExtensionDescriptor()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description static DescriptorExtensionList<PipelineHeaderExtension,PipelineHeaderExtensionDescriptor>
all()
boolean
appliesToColumns()
boolean
appliesToRows()
int
compareTo(PipelineHeaderExtensionDescriptor other)
abstract long
getIndex()
Return an index to where this should be displayed, relative to other options-
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, getDisplayName, 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
-
appliesToRows
public boolean appliesToRows()
- Returns:
- whether this extension can be a Row header
-
appliesToColumns
public boolean appliesToColumns()
- Returns:
- whether this extension can be a Column header
-
getIndex
public abstract long getIndex()
Return an index to where this should be displayed, relative to other options- Returns:
- the index - lower appears first in the list
-
all
public static DescriptorExtensionList<PipelineHeaderExtension,PipelineHeaderExtensionDescriptor> all()
- Returns:
- all known
PipelineHeaderExtensionDescriptor
-
compareTo
public int compareTo(PipelineHeaderExtensionDescriptor other)
- Specified by:
compareTo
in interfaceComparable<PipelineHeaderExtensionDescriptor>
-
-