jenkins.plugins.extracolumns
Class JobTypeColumn

java.lang.Object
  extended by hudson.views.ListViewColumn
      extended by jenkins.plugins.extracolumns.JobTypeColumn
All Implemented Interfaces:
hudson.ExtensionPoint, hudson.model.Describable<hudson.views.ListViewColumn>

public class JobTypeColumn
extends hudson.views.ListViewColumn


Nested Class Summary
static class JobTypeColumn.DescriptorImpl
           
 
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson
 
Field Summary
 
Fields inherited from class hudson.views.ListViewColumn
LIST
 
Constructor Summary
JobTypeColumn()
           
JobTypeColumn(boolean usePronoun)
           
 
Method Summary
 String getJobType(hudson.model.AbstractItem item)
          Returns the job type
 boolean isUsePronoun()
           
 
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
 

Constructor Detail

JobTypeColumn

@DataBoundConstructor
public JobTypeColumn(boolean usePronoun)

JobTypeColumn

public JobTypeColumn()
Method Detail

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.