Class SastJobModel

    • Constructor Detail

      • SastJobModel

        public SastJobModel​(String releaseId,
                            String bsiToken,
                            boolean purchaseEntitlements,
                            String entitlementPreference,
                            String srcLocation,
                            String remediationScanPreferenceType,
                            String inProgressScanActionType,
                            String inProgressBuildResultType,
                            String selectedReleaseType,
                            String userSelectedApplication,
                            String userSelectedMicroservice,
                            String userSelectedRelease,
                            String selectedScanCentralBuildType,
                            boolean scanCentralSkipBuild,
                            String scanCentralBuildCommand,
                            String scanCentralBuildFile,
                            String scanCentralExcludeFiles,
                            String scanCentralBuildToolVersion,
                            String scanCentralVirtualEnv,
                            String scanCentralRequirementFile,
                            Boolean isPipeline,
                            String assessmentType,
                            String entitlementId,
                            String frequencyId,
                            String auditPreference,
                            String technologyStack,
                            String languageLevel,
                            String openSourceScan,
                            Boolean autoProvision,
                            String applicationName,
                            String applicationType,
                            String releaseName,
                            Integer owner,
                            String attributes,
                            String businessCriticality,
                            String sdlcStatus,
                            String microserviceName,
                            Boolean isMicroservice)
        Build model used to pass values around
        Parameters:
        releaseId - Release ID
        bsiToken - BSI Token
        purchaseEntitlements - purchaseEntitlements
        entitlementPreference - entitlementPreference
        srcLocation - srcLocation
        remediationScanPreferenceType - remediationScanPreferenceType
        inProgressScanActionType - inProgressScanActionType
        inProgressBuildResultType - inProgressBuildResultType
        selectedReleaseType - selectedReleaseType
        selectedScanCentralBuildType - selectedScanCentralBuildType
        scanCentralSkipBuild - Desc
        scanCentralBuildCommand - Desc
        scanCentralBuildFile - Desc
        scanCentralExcludeFiles - Desc
        scanCentralBuildToolVersion - Desc
        scanCentralVirtualEnv - Desc
        scanCentralRequirementFile - Desc
    • Method Detail

      • getPayload

        public FilePath getPayload()
      • setPayload

        public void setPayload​(FilePath payload)
      • getReleaseId

        public String getReleaseId()
      • getBsiToken

        public BsiToken getBsiToken()
      • isPurchaseEntitlements

        public boolean isPurchaseEntitlements()
      • getEntitlementPreference

        public String getEntitlementPreference()
      • getBsiTokenOriginal

        public String getBsiTokenOriginal()
      • getSrcLocation

        public String getSrcLocation()
      • getRemediationScanPreferenceType

        public String getRemediationScanPreferenceType()
      • getInProgressScanActionType

        public String getInProgressScanActionType()
      • getInProgressBuildResultType

        public String getInProgressBuildResultType()
      • getSelectedReleaseType

        public String getSelectedReleaseType()
      • getUserSelectedApplication

        public String getUserSelectedApplication()
      • getUserSelectedMicroservice

        public String getUserSelectedMicroservice()
      • getUserSelectedRelease

        public String getUserSelectedRelease()
      • getSelectedScanCentralBuildType

        public String getSelectedScanCentralBuildType()
      • getScanCentralSkipBuild

        public boolean getScanCentralSkipBuild()
      • getScanCentralBuildCommand

        public String getScanCentralBuildCommand()
      • getScanCentralBuildFile

        public String getScanCentralBuildFile()
      • getScanCentralExcludeFiles

        public String getScanCentralExcludeFiles()
      • getScanCentralBuildToolVersion

        public String getScanCentralBuildToolVersion()
      • getScanCentralVirtualEnv

        public String getScanCentralVirtualEnv()
      • getScanCentralRequirementFile

        public String getScanCentralRequirementFile()
      • getIsPipeline

        public Boolean getIsPipeline()
      • getAssessmentType

        public String getAssessmentType()
      • getEntitlementId

        public String getEntitlementId()
      • getFrequencyId

        public String getFrequencyId()
      • getAuditPreference

        public String getAuditPreference()
      • getTechnologyStack

        public String getTechnologyStack()
      • getLanguageLevel

        public String getLanguageLevel()
      • getOpenSourceScan

        public String getOpenSourceScan()
      • getAutoProvision

        public Boolean getAutoProvision()
      • getApplicationName

        public String getApplicationName()
      • getApplicationType

        public String getApplicationType()
      • getReleaseName

        public String getReleaseName()
      • getOwner

        public Integer getOwner()
      • getAttributes

        public String getAttributes()
      • getBusinessCriticality

        public String getBusinessCriticality()
      • getSdlcStatus

        public String getSdlcStatus()
      • getMicroserviceName

        public String getMicroserviceName()
      • getIsMicroservice

        public Boolean getIsMicroservice()
      • loadBsiToken

        public boolean loadBsiToken()
      • validate

        public boolean validate​(PrintStream logger)