jenkins.plugins.extracolumns
Class JobTypeColumn
java.lang.Object
hudson.views.ListViewColumn
jenkins.plugins.extracolumns.JobTypeColumn
- All Implemented Interfaces:
- hudson.ExtensionPoint, hudson.model.Describable<hudson.views.ListViewColumn>
public class JobTypeColumn
- extends hudson.views.ListViewColumn
Nested classes/interfaces inherited from interface hudson.ExtensionPoint |
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson |
Fields inherited from class hudson.views.ListViewColumn |
LIST |
Methods inherited from class hudson.views.ListViewColumn |
all, createDefaultInitialColumnList, getColumnCaption, getDescriptor, shownByDefault |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JobTypeColumn
@DataBoundConstructor
public JobTypeColumn(boolean usePronoun)
JobTypeColumn
public JobTypeColumn()
isUsePronoun
public boolean isUsePronoun()
getJobType
public String getJobType(hudson.model.AbstractItem item)
- 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
-
- Returns:
- job type
Copyright © 2004-2013. All Rights Reserved.