Class DeploymentTrendsWidget
java.lang.Object
com.xebialabs.deployit.core.rest.api.reports.TaskArchiveReport
com.xebialabs.deployit.core.rest.api.reports.widgets.DeploymentTrendsWidget
- All Implemented Interfaces:
Widget
Throughput widget
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final intstatic final StringFields inherited from class com.xebialabs.deployit.core.rest.api.reports.TaskArchiveReport
taskArchive -
Constructor Summary
ConstructorsConstructorDescriptionDeploymentTrendsWidget(com.xebialabs.deployit.task.archive.TaskArchive taskArchive) -
Method Summary
Modifier and TypeMethodDescriptionprotected static final StringformatToHours(long millis) protected static final StringformatToMins(long millis) protected static final StringformatToSecs(long millis) protected static final StringgetFormattedMonth(int monthOfYear) protected static final StringgetFormattedPercentage(double numOfTasksInAState, double totalTasks) protected static final doublegetPercentage(double numOfTasksInAState, double totalTasks) final ai.digital.deploy.sql.model.ReportgetReport(org.joda.time.DateTime begin, org.joda.time.DateTime end) Methods inherited from class com.xebialabs.deployit.core.rest.api.reports.TaskArchiveReport
cloneSearchParameters, getSearchParameters, getValue
-
Field Details
-
TOP_N
protected static final int TOP_N- See Also:
-
NUMBER_SUCCESSFUL_DEPLOYMENTS
- See Also:
-
NUMBER_ABORTED_DEPLOYMENTS
- See Also:
-
NUMBER_FAILED_DEPLOYMENTS
- See Also:
-
NUMBER_ROLLBACK_DEPLOYMENTS
- See Also:
-
PERCENTAGE_ABORTED_DEPLOYMENTS
- See Also:
-
PERCENTAGE_FAILED_DEPLOYMENTS
- See Also:
-
PERCENTAGE_ROLLBACK_DEPLOYMENTS
- See Also:
-
MONTH
- See Also:
-
ZERO
-
-
Constructor Details
-
DeploymentTrendsWidget
public DeploymentTrendsWidget(com.xebialabs.deployit.task.archive.TaskArchive taskArchive)
-
-
Method Details
-
getReport
public final ai.digital.deploy.sql.model.Report getReport(org.joda.time.DateTime begin, org.joda.time.DateTime end) -
getPercentage
protected static final double getPercentage(double numOfTasksInAState, double totalTasks) -
getFormattedPercentage
-
getFormattedMonth
-
formatToSecs
-
formatToMins
-
formatToHours
-