Class HistoryOverview


  • @Model(adaptables=org.apache.sling.api.SlingHttpServletRequest.class)
    public class HistoryOverview
    extends Object
    Sling model for history overview area.
    Author:
    Roland Gruber
    • Constructor Detail

      • HistoryOverview

        public HistoryOverview()
    • Method Detail

      • init

        @PostConstruct
        public void init()
        Reads the history entry from CRX.
      • getHistory

        public de.valtech.aecu.api.service.HistoryEntry getHistory()
        Returns the history entry.
        Returns:
        history
      • getStart

        public String getStart()
        Returns the start as formatted string.
        Returns:
        start date
      • getEnd

        public String getEnd()
        Returns the end as formatted string.
        Returns:
        end date
      • getDuration

        public String getDuration()
        Returns the duration.
        Returns:
        duration
      • getDonutData

        public HistoryOverview.DonutData getDonutData()
        Returns the percentages of successful and failed scripts.
        Returns:
        data for donut diagram