Class ATXProjectAction<T extends AbstractTestReport>

    • Constructor Detail

      • ATXProjectAction

        public ATXProjectAction​(boolean projectLevel)
        Instantiates a new ATXProjectAction.
        Parameters:
        projectLevel - specifies whether archiving is restricted to project level only
    • Method Detail

      • getLastBuildAction

        @CheckForNull
        public ATXBuildAction<T> getLastBuildAction​(org.kohsuke.stapler.StaplerRequest req)
        Returns the ATXBuildAction in the last build that have artifact documents.

        Resolves the owner by StaplerRequest.findAncestorObject(Class).

        Parameters:
        req - the StaplerRequest used for access this action
        Returns:
        the last ATXBuildAction or null if no proper build exists
      • getDynamic

        public T getDynamic​(String token,
                            org.kohsuke.stapler.StaplerRequest req)
        Returns ATXReport specified by the URL.

        Delegates to the last ATXBuildAction.

        Parameters:
        token - the URL token
        req - the StaplerRequest used for access this action
        Returns:
        the requested ATXReport or null if no proper report exists
      • getDisplayName

        public String getDisplayName()