Class AbstractGcsUploadReport

java.lang.Object
com.google.jenkins.plugins.storage.reports.AbstractGcsUploadReport
All Implemented Interfaces:
Action, ModelObject
Direct Known Subclasses:
BuildGcsUploadReport, ProjectGcsUploadReport

public abstract class AbstractGcsUploadReport extends Object implements Action
Common functionalities for BuildGcsUploadReport and ProjectGcsUploadReport. See ProjectGcsUploadReport for details on why we will need at least two different kind of reports.
See Also:
  • Method Details

    • getIconFileName

      public String getIconFileName()
      Specified by:
      getIconFileName in interface Action
    • getDisplayName

      public String getDisplayName()
      Specified by:
      getDisplayName in interface Action
      Specified by:
      getDisplayName in interface ModelObject
    • getUrlName

      public String getUrlName()
      Specified by:
      getUrlName in interface Action
    • getParent

      public Actionable getParent()
      Returns:
      the parent object of this action. For a build action, this is the containing build. For a project action, this is the containing project.
    • getBuildNumber

      @Nullable public abstract Integer getBuildNumber()
      Returns:
      the build number of this report.
    • getStorageObjects

      public abstract Set<String> getStorageObjects()
      Returns:
      the uploaded objects (qualified with bucket name).
    • getBuckets

      public abstract Set<String> getBuckets()
      Returns:
      the buckets that were used as upload destinations.