Package hudson.plugins.gradle
Class AbstractBuildScanAction
- java.lang.Object
-
- hudson.plugins.gradle.AbstractBuildScanAction
-
- All Implemented Interfaces:
hudson.model.Action
,hudson.model.ModelObject
- Direct Known Subclasses:
BuildScanAction
,BuildScanFlowAction
@ExportedBean public abstract class AbstractBuildScanAction extends java.lang.Object implements hudson.model.Action
-
-
Field Summary
Fields Modifier and Type Field Description protected hudson.model.Actionable
target
-
Constructor Summary
Constructors Constructor Description AbstractBuildScanAction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addBuildAgentError(BuildAgentError buildAgentError)
void
addScanDetail(ScanDetail scanDetail)
void
addScanUrl(java.lang.String scanUrl)
void
addScanUrls(java.util.Collection<java.lang.String> scanUrls, java.util.function.Function<java.lang.String,java.util.Optional<ScanDetail>> scanDetailsFactory)
java.util.List<BuildAgentError>
getBuildAgentErrors()
java.lang.String
getDisplayName()
boolean
getHasGradleErrors()
boolean
getHasMavenErrors()
java.lang.String
getIconFileName()
java.util.List<ScanDetail>
getScanDetails()
java.util.List<java.lang.String>
getScanUrls()
hudson.model.Actionable
getTarget()
java.lang.String
getUrlName()
boolean
hasErrors()
-
-
-
Method Detail
-
getIconFileName
public java.lang.String getIconFileName()
- Specified by:
getIconFileName
in interfacehudson.model.Action
-
getDisplayName
public java.lang.String getDisplayName()
- Specified by:
getDisplayName
in interfacehudson.model.Action
- Specified by:
getDisplayName
in interfacehudson.model.ModelObject
-
getUrlName
public java.lang.String getUrlName()
- Specified by:
getUrlName
in interfacehudson.model.Action
-
addBuildAgentError
public void addBuildAgentError(BuildAgentError buildAgentError)
-
addScanUrls
public void addScanUrls(java.util.Collection<java.lang.String> scanUrls, java.util.function.Function<java.lang.String,java.util.Optional<ScanDetail>> scanDetailsFactory)
-
addScanUrl
public void addScanUrl(java.lang.String scanUrl)
-
addScanDetail
public void addScanDetail(ScanDetail scanDetail)
-
getScanUrls
@Exported public java.util.List<java.lang.String> getScanUrls()
-
getScanDetails
@Exported public java.util.List<ScanDetail> getScanDetails()
-
getHasMavenErrors
@Exported public boolean getHasMavenErrors()
-
getHasGradleErrors
@Exported public boolean getHasGradleErrors()
-
getBuildAgentErrors
public java.util.List<BuildAgentError> getBuildAgentErrors()
-
hasErrors
public boolean hasErrors()
-
getTarget
public hudson.model.Actionable getTarget()
-
-