Class Top10DeploymentsByState

java.lang.Object
com.xebialabs.deployit.core.rest.api.reports.TaskArchiveReport
com.xebialabs.deployit.core.rest.api.reports.widgets.Top10DeploymentsByState
All Implemented Interfaces:
Widget
Direct Known Subclasses:
Top10RetriedDeployments, Top10SuccessfulDeployments

public abstract class Top10DeploymentsByState extends TaskArchiveReport
  • Field Details

  • Constructor Details

    • Top10DeploymentsByState

      public Top10DeploymentsByState(com.xebialabs.deployit.task.archive.TaskArchive taskArchive, com.xebialabs.deployit.task.archive.DeploymentResult stateType)
  • Method Details

    • getReport

      public 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

      protected static final String getFormattedPercentage(double numOfTasksInAState, double totalTasks)
    • getFormattedMonth

      protected static final String getFormattedMonth(int monthOfYear)
    • formatToSecs

      protected static final String formatToSecs(long millis)
    • formatToMins

      protected static final String formatToMins(long millis)
    • formatToHours

      protected static final String formatToHours(long millis)