org.jenkinsci.plugins.uptime
Class UptimeColumn

java.lang.Object
  extended by hudson.views.ListViewColumn
      extended by org.jenkinsci.plugins.uptime.UptimeColumn
All Implemented Interfaces:
hudson.ExtensionPoint, hudson.model.Describable<hudson.views.ListViewColumn>

public class UptimeColumn
extends hudson.views.ListViewColumn

List View column that shows the percentage of time that a job has been building successfully since its first build.

Author:
Chris Mair

Nested Class Summary
 
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson
 
Field Summary
static hudson.model.Descriptor<hudson.views.ListViewColumn> DESCRIPTOR
           
protected  UptimeService uptimeService
           
 
Fields inherited from class hudson.views.ListViewColumn
LIST
 
Constructor Summary
UptimeColumn()
           
 
Method Summary
 hudson.model.Descriptor<hudson.views.ListViewColumn> getDescriptor()
           
 String getShortName(hudson.model.Job job)
           
protected  String percentageString(BigDecimal percentage)
           
 
Methods inherited from class hudson.views.ListViewColumn
all, createDefaultInitialColumnList, getColumnCaption, shownByDefault
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

uptimeService

protected UptimeService uptimeService

DESCRIPTOR

@Extension
public static final hudson.model.Descriptor<hudson.views.ListViewColumn> DESCRIPTOR
Constructor Detail

UptimeColumn

public UptimeColumn()
Method Detail

getShortName

public String getShortName(hudson.model.Job job)

percentageString

protected String percentageString(BigDecimal percentage)

getDescriptor

public hudson.model.Descriptor<hudson.views.ListViewColumn> getDescriptor()
Specified by:
getDescriptor in interface hudson.model.Describable<hudson.views.ListViewColumn>
Overrides:
getDescriptor in class hudson.views.ListViewColumn


Copyright © 2004-2013. All Rights Reserved.