com.nullin.jenkins.spbr
Class SimpleParameterizedBuildsReportAction

java.lang.Object
  extended by com.nullin.jenkins.spbr.SimpleParameterizedBuildsReportAction
All Implemented Interfaces:
hudson.model.Action, hudson.model.ModelObject

public class SimpleParameterizedBuildsReportAction
extends Object
implements hudson.model.Action

Action to display builds categorized by parameters used to run them.

Author:
nullin

Field Summary
static int MAX_BUILDS_PER_PARAM_DEF
           
 
Method Summary
 com.google.common.collect.Multimap<Map<String,String>,hudson.model.AbstractBuild> getBuildsMap(Collection<hudson.model.AbstractBuild> builds)
          Gets at most MAX_BUILDS_PER_PARAM_DEF builds per set of parameter values as a map.
 String getDisplayName()
           
 String getIconFileName()
           
 hudson.model.AbstractProject<?,?> getProject()
           
 String getUrlName()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MAX_BUILDS_PER_PARAM_DEF

public static final int MAX_BUILDS_PER_PARAM_DEF
See Also:
Constant Field Values
Method Detail

getIconFileName

public String getIconFileName()
Specified by:
getIconFileName in interface hudson.model.Action

getDisplayName

public String getDisplayName()
Specified by:
getDisplayName in interface hudson.model.Action
Specified by:
getDisplayName in interface hudson.model.ModelObject

getUrlName

public String getUrlName()
Specified by:
getUrlName in interface hudson.model.Action

getBuildsMap

public com.google.common.collect.Multimap<Map<String,String>,hudson.model.AbstractBuild> getBuildsMap(Collection<hudson.model.AbstractBuild> builds)
Gets at most MAX_BUILDS_PER_PARAM_DEF builds per set of parameter values as a map.

Parameters:
builds - all possible builds to look at in order to generate the map
Returns:

getProject

public hudson.model.AbstractProject<?,?> getProject()


Copyright © 2004-2013. All Rights Reserved.