Package jenkins.branch
Class ItemColumn
java.lang.Object
hudson.views.ListViewColumn
jenkins.branch.ItemColumn
- All Implemented Interfaces:
ExtensionPoint
,Describable<ListViewColumn>
@Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class)
public class ItemColumn
extends ListViewColumn
- Since:
- 2.0.1
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Our extension.static class
Hide this column from user views as it would only confuse them.Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
isOrphaned
(Object item) Determines if the item is orphaned.boolean
Determines if the item has aPrimaryInstanceMetadataAction
.Methods inherited from class hudson.views.ListViewColumn
all, createDefaultInitialColumnList, createDefaultInitialColumnList, createDefaultInitialColumnList, getColumnCaption, getDescriptor, shownByDefault
-
Constructor Details
-
ItemColumn
@DataBoundConstructor public ItemColumn()Default constructor
-
-
Method Details
-
isPrimary
Determines if the item has aPrimaryInstanceMetadataAction
.- Parameters:
job
- the item.- Returns:
true
if and only if the item has aPrimaryInstanceMetadataAction
.
-
isOrphaned
Determines if the item is orphaned.- Parameters:
item
- the item.- Returns:
true
if and only if the item is orphaned.
-