Class AquaDockerScannerBuilder

    • Constructor Detail

      • AquaDockerScannerBuilder

        @DataBoundConstructor
        public AquaDockerScannerBuilder​(String locationType,
                                        String registry,
                                        boolean register,
                                        String localImage,
                                        String hostedImage,
                                        String onDisallowed,
                                        String notCompliesCmd,
                                        boolean hideBase,
                                        boolean showNegligible,
                                        String policies,
                                        String localToken,
                                        String customFlags,
                                        String tarFilePath,
                                        String containerRuntime,
                                        String scannerPath)
    • Method Detail

      • setCount

        public static void setCount​(int count)
      • setBuildId

        public static void setBuildId​(int buildId)
      • getLocationType

        public String getLocationType()
        Public access required by config.jelly to display current values in configuration screen.
      • getRegistry

        public String getRegistry()
      • getRegister

        public boolean getRegister()
      • getLocalImage

        public String getLocalImage()
      • getHostedImage

        public String getHostedImage()
      • getOnDisallowed

        public String getOnDisallowed()
      • getNotCompliesCmd

        public String getNotCompliesCmd()
      • getPolicies

        public String getPolicies()
      • getCustomFlags

        public String getCustomFlags()
      • getHideBase

        public boolean getHideBase()
      • getShowNegligible

        public boolean getShowNegligible()
      • isLocationType

        public String isLocationType​(String type)
      • isOnDisallowed

        public String isOnDisallowed​(String state)
      • setContainerRuntime

        @DataBoundSetter
        public void setContainerRuntime​(@CheckForNull
                                        String containerRuntime)
      • setScannerPath

        @DataBoundSetter
        public void setScannerPath​(@CheckForNull
                                   String scannerPath)
      • setTarFilePath

        @DataBoundSetter
        public void setTarFilePath​(@CheckForNull
                                   String tarFilePath)
      • setLocalToken

        @DataBoundSetter
        public void setLocalToken​(@CheckForNull
                                  String localToken)
      • perform

        public void perform​(hudson.model.Run<?,​?> build,
                            hudson.FilePath workspace,
                            hudson.Launcher launcher,
                            hudson.model.TaskListener listener)
                     throws hudson.AbortException,
                            InterruptedException
        Specified by:
        perform in interface jenkins.tasks.SimpleBuildStep
        Throws:
        hudson.AbortException
        InterruptedException
      • getDescriptor

        public AquaDockerScannerBuilder.DescriptorImpl getDescriptor()
        Specified by:
        getDescriptor in interface hudson.model.Describable<hudson.tasks.Builder>
        Overrides:
        getDescriptor in class hudson.tasks.Builder