Class ViewActivityLog

java.lang.Object
org.apache.struts2.ActionSupport
All Implemented Interfaces:
JsonStreamingAction, ErrorCollection, BambooSessionAware, NavigationAware, DomainObjectSecurityAware, GlobalReadSecurityAware, PlanReadSecurityAware, PlanAware, ProjectAware, ReturnUrlAware, UserAware, com.atlassian.core.i18n.I18nTextProvider, Serializable, org.apache.struts2.action.Action, org.apache.struts2.interceptor.ValidationAware, org.apache.struts2.locale.LocaleProvider, org.apache.struts2.text.TextProvider, org.apache.struts2.Validateable

public class ViewActivityLog extends PlanActionSupport implements PlanReadSecurityAware
This class places a build's log in the GUI for viewing.
See Also:
  • Field Details

  • Constructor Details

    • ViewActivityLog

      public ViewActivityLog()
  • Method Details

    • doDefault

      public String doDefault() throws Exception
      Description copied from class: BambooActionSupport
      Default action just sends to the input
      Overrides:
      doDefault in class BambooActionSupport
      Throws:
      Exception
    • execute

      public String execute() throws Exception
      Specified by:
      execute in interface org.apache.struts2.action.Action
      Overrides:
      execute in class org.apache.struts2.ActionSupport
      Throws:
      Exception
    • getSecondsToRefresh

      public int getSecondsToRefresh()
    • setSecondsToRefresh

      public void setSecondsToRefresh(int secondsToRefresh)
    • getActivityLog

      public List<LogEntry> getActivityLog()
    • getLinesToDisplay

      public int getLinesToDisplay()
    • setLinesToDisplay

      public void setLinesToDisplay(int linesToDisplay)
    • setBuildLoggerManager

      public void setBuildLoggerManager(BuildLoggerManager buildLoggerManager)