Class HistorySearchItem


  • @Model(adaptables=org.apache.sling.api.SlingHttpServletRequest.class)
    public class HistorySearchItem
    extends HistoryDataItem
    Model class for a single history item in omni search.
    Author:
    Roland Gruber
    • Field Detail

      • searchTerm

        protected String searchTerm
    • Constructor Detail

      • HistorySearchItem

        public HistorySearchItem()
    • Method Detail

      • readHistory

        protected de.valtech.aecu.api.service.HistoryEntry readHistory()
      • readSingleResult

        protected de.valtech.aecu.api.service.ExecutionResult readSingleResult()
        Reads the single execution result.
        Returns:
        result
      • getFragment

        public String getFragment()
        Returns a text fragment that matches the search term.
        Returns:
        fragment
      • getSelectedScript

        public String getSelectedScript()
        Returns the selected script in a run.
        Returns:
        script path
      • getRunPath

        public String getRunPath()
        Returns the base path of the run.
        Returns:
        run path