Class ViewBuildFiles

All Implemented Interfaces:
JsonStreamingAction, ErrorCollection, BambooSessionAware, BuildableAware, NavigationAware, DomainObjectSecurityAware, GlobalReadSecurityAware, PlanReadSecurityAware, PlanAware, ProjectAware, 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
Direct Known Subclasses:
DeleteBuildFiles

public class ViewBuildFiles extends BuildActionSupport implements PlanReadSecurityAware
This action lets a user browse the build files.
See Also:
  • Constructor Details

    • ViewBuildFiles

      public ViewBuildFiles()
  • Method Details

    • getDirectory

      public String getDirectory()
    • setDirectory

      public void setDirectory(String value)
    • execute

      public String execute() throws Exception
      Specified by:
      execute in interface com.opensymphony.xwork2.Action
      Overrides:
      execute in class com.opensymphony.xwork2.ActionSupport
      Throws:
      Exception
    • getBuildWorkingDirectory

      @Nullable public @Nullable String getBuildWorkingDirectory()
    • getFiles

      @Nullable public @Nullable File[] getFiles()
    • formatFileSize

      public String formatFileSize(long l)
    • formatAsDate

      public Date formatAsDate(long l)
    • getSourceCodeBreadcrumb

      public List getSourceCodeBreadcrumb() throws Exception
      Throws:
      Exception
    • isLastBuildLocal

      public boolean isLastBuildLocal()
    • getSourceDirectory

      public File getSourceDirectory()
    • setAgentManager

      public void setAgentManager(AgentManager agentManager)