Class ViewChainResult

    • Constructor Detail

      • ViewChainResult

        public ViewChainResult()
    • Method Detail

      • 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
      • getWarningsCount

        public long getWarningsCount()
      • 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)
      • getJobResultKeyForLogDisplay

        public String getJobResultKeyForLogDisplay()