Class 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 Detail

      • target

        protected transient hudson.model.Actionable target
    • Constructor Detail

      • AbstractBuildScanAction

        public AbstractBuildScanAction()
    • Method Detail

      • getIconFileName

        public java.lang.String getIconFileName()
        Specified by:
        getIconFileName in interface hudson.model.Action
      • getDisplayName

        public java.lang.String getDisplayName()
        Specified by:
        getDisplayName in interface hudson.model.Action
        Specified by:
        getDisplayName in interface hudson.model.ModelObject
      • getUrlName

        public java.lang.String getUrlName()
        Specified by:
        getUrlName in interface hudson.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()