Package jenkins.plugins.extracolumns
Class JobTypeColumn
java.lang.Object
hudson.views.ListViewColumn
jenkins.plugins.extracolumns.JobTypeColumn
- All Implemented Interfaces:
ExtensionPoint
,Describable<ListViewColumn>
-
Nested Class Summary
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Field Summary
-
Constructor Summary
-
Method Summary
Methods inherited from class hudson.views.ListViewColumn
all, createDefaultInitialColumnList, createDefaultInitialColumnList, createDefaultInitialColumnList, getColumnCaption, getDescriptor, shownByDefault
-
Constructor Details
-
JobTypeColumn
@DataBoundConstructor public JobTypeColumn(boolean usePronoun) -
JobTypeColumn
public JobTypeColumn()
-
-
Method Details
-
isUsePronoun
public boolean isUsePronoun() -
getJobType
Returns the job type
Note: The config section for this column contains an option that allows to use the 'pronoun' instead of the 'simple name' to query the job type.
- Parameters:
item
- job, etc.- Returns:
- job type
-