Class ETLogProjectAction

    • Constructor Detail

      • ETLogProjectAction

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

      • getLastBuildAction

        @CheckForNull
        public ETLogBuildAction getLastBuildAction​(org.kohsuke.stapler.StaplerRequest req)
        Returns the ETLogBuildAction 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 ETLogBuildAction or null if no proper build exists
      • getDynamic

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

        Delegates to the last ETLogBuildAction.

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

        public String getDisplayName()