com.xebialabs.deployit.core.rest.api.reports.widgets
Class DeploymentTrendsWidget
java.lang.Object
com.xebialabs.deployit.core.rest.api.reports.widgets.DeploymentTrendsWidget
- All Implemented Interfaces:
- Widget
public class DeploymentTrendsWidget
- extends java.lang.Object
|
Field Summary |
protected com.xebialabs.deployit.task.TaskArchive |
taskArchive
|
|
Method Summary |
protected java.lang.String |
formatToHours(long millis)
|
protected java.lang.String |
formatToMins(long millis)
|
protected java.lang.String |
formatToSecs(long millis)
|
static Widget |
getInstance(com.xebialabs.deployit.task.TaskArchive taskArchive)
|
protected double |
getPercentage(double numOfTasksInAState,
double totalTasks)
|
com.xebialabs.deployit.core.api.dto.Report |
getReport(com.xebialabs.deployit.core.api.resteasy.Date begin,
com.xebialabs.deployit.core.api.resteasy.Date end)
|
protected
<T> java.util.Map<java.lang.String,T> |
|
initializeMap(com.xebialabs.deployit.core.api.resteasy.Date begin,
com.xebialabs.deployit.core.api.resteasy.Date end,
com.google.common.base.Function<java.lang.String,T> f)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
taskArchive
protected com.xebialabs.deployit.task.TaskArchive taskArchive
getInstance
public static final Widget getInstance(com.xebialabs.deployit.task.TaskArchive taskArchive)
getReport
public final com.xebialabs.deployit.core.api.dto.Report getReport(com.xebialabs.deployit.core.api.resteasy.Date begin,
com.xebialabs.deployit.core.api.resteasy.Date end)
getPercentage
protected final double getPercentage(double numOfTasksInAState,
double totalTasks)
formatToSecs
protected final java.lang.String formatToSecs(long millis)
formatToMins
protected final java.lang.String formatToMins(long millis)
formatToHours
protected final java.lang.String formatToHours(long millis)
initializeMap
protected <T> java.util.Map<java.lang.String,T> initializeMap(com.xebialabs.deployit.core.api.resteasy.Date begin,
com.xebialabs.deployit.core.api.resteasy.Date end,
com.google.common.base.Function<java.lang.String,T> f)