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 forBuildGcsUploadReport
andProjectGcsUploadReport
. SeeProjectGcsUploadReport
for details on why we will need at least two different kind of reports.- See Also:
ProjectGcsUploadReport
-
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract Set<String>
getBuckets()
abstract Integer
getBuildNumber()
String
getDisplayName()
String
getIconFileName()
Actionable
getParent()
abstract Set<String>
getStorageObjects()
String
getUrlName()
-
-
-
Method Detail
-
getIconFileName
public String getIconFileName()
- Specified by:
getIconFileName
in interfaceAction
-
getDisplayName
public String getDisplayName()
- Specified by:
getDisplayName
in interfaceAction
- Specified by:
getDisplayName
in interfaceModelObject
-
getUrlName
public String getUrlName()
- Specified by:
getUrlName
in interfaceAction
-
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).
-
-