Class ViewElasticAgentHistoryAction

java.lang.Object
com.opensymphony.xwork2.ActionSupport
com.atlassian.bamboo.ww2.BambooActionSupport
com.atlassian.bamboo.configuration.GlobalAdminAction
com.atlassian.bamboo.ww2.actions.admin.elastic.ViewElasticAgentHistoryAction
All Implemented Interfaces:
JsonStreamingAction, ErrorCollection, BambooSessionAware, LazyPaginationAware, NavigationAware, DomainObjectSecurityAware, GlobalAdminSecurityAware, GlobalReadSecurityAware, ReturnUrlAware, com.atlassian.core.i18n.I18nTextProvider, com.atlassian.struts.TextProvider, com.atlassian.struts.ValidationAware, com.opensymphony.xwork.ValidationAware, com.opensymphony.xwork2.Action, com.opensymphony.xwork2.interceptor.ValidationAware, com.opensymphony.xwork2.LocaleProvider, com.opensymphony.xwork2.TextProvider, com.opensymphony.xwork2.Validateable, Serializable

public class ViewElasticAgentHistoryAction extends GlobalAdminAction implements LazyPaginationAware
See Also:
  • Constructor Details

    • ViewElasticAgentHistoryAction

      public ViewElasticAgentHistoryAction()
  • Method Details

    • deleteHistory

      public String deleteHistory() throws Exception
      Throws:
      Exception
    • getStatistics

      public SuccessPercentageStatisticsBean getStatistics(long id)
    • getFilteredResultsList

      @NotNull public @NotNull List<ElasticAgentDefinition> getFilteredResultsList(int firstResult, int maxResults)
      Description copied from interface: LazyPaginationAware
      Implementing actions should initialize and return up to maxResults items ranging from firstResult from the underlying list of uninitialized items
      Specified by:
      getFilteredResultsList in interface LazyPaginationAware
      Parameters:
      firstResult - index of first item
      maxResults - number of items to be returned
      Returns:
      range of initialized results from underlying full list of uninitialized items
    • getResultsCount

      public int getResultsCount()
      Description copied from interface: LazyPaginationAware
      Implementing actions should return a total number of items that are subject to pagination
      Specified by:
      getResultsCount in interface LazyPaginationAware
      Returns:
      number of items in the underlying list
    • setAgentManager

      public void setAgentManager(AgentManager agentManager)
    • getPager

      public Pager getPager()
      Description copied from interface: LazyPaginationAware
      Freemarker views for LazyPaginationAware actions should iterate over pager.page.list
      Specified by:
      getPager in interface LazyPaginationAware
      Returns:
      Pager object
    • setPager

      public void setPager(Pager pager)
      Description copied from interface: LazyPaginationAware
      Used to inject pager by PaginationAwareInterceptor
      Specified by:
      setPager in interface LazyPaginationAware
      Parameters:
      pager - Pager object
    • setAgentResultsSummaryManager

      public void setAgentResultsSummaryManager(AgentResultsSummaryManager agentResultsSummaryManager)