Class UploadBinaryScanRecorder

java.lang.Object
hudson.tasks.BuildStepCompatibilityLayer
hudson.tasks.Publisher
hudson.tasks.Recorder
io.jenkins.plugins.finitestateuploadbinaryscan.UploadBinaryScanRecorder
All Implemented Interfaces:
ExtensionPoint, Describable<Publisher>, BuildStep

public class UploadBinaryScanRecorder extends Recorder
  • Constructor Details

    • UploadBinaryScanRecorder

      @DataBoundConstructor public UploadBinaryScanRecorder(String finiteStateClientId, String finiteStateSecret, String finiteStateOrganizationContext, String assetId, String version, Boolean externalizableId, String filePath, String businessUnitId, String createdByUserId, String productId, String artifactDescription, Boolean quickScan)
  • Method Details

    • getFiniteStateClientId

      public String getFiniteStateClientId()
    • getFiniteStateSecret

      public String getFiniteStateSecret()
    • getFiniteStateOrganizationContext

      public String getFiniteStateOrganizationContext()
    • getAssetId

      public String getAssetId()
    • getVersion

      public String getVersion()
    • getExternalizableId

      public boolean getExternalizableId()
    • getFilePath

      public String getFilePath()
    • getBusinessUnitId

      public String getBusinessUnitId()
    • getCreatedByUserId

      public String getCreatedByUserId()
    • getProductId

      public String getProductId()
    • getArtifactDescription

      public String getArtifactDescription()
    • getQuickScan

      public boolean getQuickScan()
    • isQuickScan

      public boolean isQuickScan()
    • setFiniteStateClientId

      @DataBoundSetter public void setFiniteStateClientId(String finiteStateClientId)
    • setFiniteStateSecret

      @DataBoundSetter public void setFiniteStateSecret(String finiteStateSecret)
    • setFiniteStateOrganizationContext

      @DataBoundSetter public void setFiniteStateOrganizationContext(String finiteStateOrganizationContext)
    • setAssetId

      @DataBoundSetter public void setAssetId(String assetId)
    • setVersion

      @DataBoundSetter public void setVersion(String version)
    • setExternalizableId

      @DataBoundSetter public void setExternalizableId(boolean externalizableId)
    • setFilePath

      @DataBoundSetter public void setFilePath(String filePath)
    • setQuickScan

      @DataBoundSetter public void setQuickScan(boolean quickScan)
    • setBusinessUnitId

      @DataBoundSetter public void setBusinessUnitId(String businessUnitId)
    • setCreatedByUserId

      @DataBoundSetter public void setCreatedByUserId(String createdByUserId)
    • setProductId

      @DataBoundSetter public void setProductId(String productId)
    • setArtifactDescription

      @DataBoundSetter public void setArtifactDescription(String artifactDescription)
    • getSecretTextValue

      public String getSecretTextValue(AbstractBuild build, String credentialId)
      get secret values from form
      Parameters:
      build -
      credentialId -
      Returns:
    • escapeEnvVar

      public static String escapeEnvVar(String input)
    • validateEnvVar

      public static String validateEnvVar(String input)
    • isDockerInstalled

      public static boolean isDockerInstalled()
    • perform

      public boolean perform(AbstractBuild build, Launcher launcher, BuildListener listener) throws InterruptedException, IOException
      Specified by:
      perform in interface BuildStep
      Overrides:
      perform in class BuildStepCompatibilityLayer
      Throws:
      InterruptedException
      IOException