Class ViewChainResult

All Implemented Interfaces:
JsonStreamingAction, ErrorCollection, BambooSessionAware, ChainAware, NavigationAware, DomainObjectSecurityAware, GlobalReadSecurityAware, PlanReadSecurityAware, PlanAware, ProjectAware, ResultsSummaryAware, 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:
ViewChainArtifacts, ViewChainLogs, ViewChainTestResults

public class ViewChainResult extends ChainResultsAction implements PlanReadSecurityAware
See Also:
  • Constructor Details

    • ViewChainResult

      public ViewChainResult()
  • Method Details

    • getJobForKey

      @Nullable public @Nullable Job getJobForKey(String planKey)
    • 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
    • getFilteredTestResults

      public FilteredTestResults<TestClassResultDescriptor> getFilteredTestResults()
    • getWarnings

      public Collection<BuildWarningSummary> getWarnings()
    • getWarningsCount

      public long getWarningsCount()
    • getJobResultSummaries

      public List<ResultsSummary> getJobResultSummaries()
    • getSharedArtifactLinks

      public Collection<ArtifactLink> getSharedArtifactLinks(BuildResultsSummary jobResults)
    • hasSharedArtifacts

      public boolean hasSharedArtifacts(ChainResultsSummary chainResultsSummary)
    • getAgent

      @Nullable public @Nullable BuildAgent getAgent(@Nullable @Nullable Long agentId)
    • getAgentType

      @Nullable public @Nullable String getAgentType(@Nullable @Nullable ResultsSummary resultsSummary)
    • getEphemeralAgentTemplateIdIfExists

      @Nullable public @Nullable String getEphemeralAgentTemplateIdIfExists(@Nullable @Nullable ResultsSummary currentlyBuilding)
    • getEphemeralAgentTemplateNameIfExists

      @Nullable public @Nullable String getEphemeralAgentTemplateNameIfExists(@Nullable @Nullable ResultsSummary currentlyBuilding)
    • getAgentType

      @Nullable public @Nullable String getAgentType(@Nullable @Nullable CurrentlyBuilding currentlyBuilding)
    • getEphemeralAgentTemplateIdIfExists

      @Nullable public @Nullable String getEphemeralAgentTemplateIdIfExists(@Nullable @Nullable CurrentlyBuilding currentlyBuilding)
    • getEphemeralAgentTemplateNameIfExists

      @Nullable public @Nullable String getEphemeralAgentTemplateNameIfExists(@Nullable @Nullable CurrentlyBuilding currentlyBuilding)
    • getDefaultPageSizeForTests

      protected int getDefaultPageSizeForTests()
    • isCommentMode

      public boolean isCommentMode()
    • setCommentMode

      public void setCommentMode(boolean commentMode)
    • getLinesToDisplay

      public int getLinesToDisplay()
    • setLinesToDisplay

      public void setLinesToDisplay(int linesToDisplay)
    • getStageToRestart

      public StageIdentifier getStageToRestart()
    • getJobResultKeyForLogDisplay

      public String getJobResultKeyForLogDisplay()
    • getRelatedDeployments

      public List<DeploymentProjectStatusForResultSummary> getRelatedDeployments()
    • getCommentsByEntityId

      public Map<Long,List<Comment>> getCommentsByEntityId()