Class ScanResultDataObject

java.lang.Object
FlexDataObject
flexagon.fd.model2.pojo.ScanResultDataObject

public class ScanResultDataObject extends FlexDataObject
The Class ScanResultDataObject.
  • Constructor Details

    • ScanResultDataObject

      public ScanResultDataObject()
  • Method Details

    • getScanResultId

      public Long getScanResultId()
      returns the Long scan result id.
      Returns:
      the scan result id
    • setScanResultId

      public void setScanResultId(Long pScanResultId)
      Sets the scan result id.
      Parameters:
      pScanResultId - the new scan result id
    • getCriticalCount

      public Integer getCriticalCount()
      returns the Integer critical count.
      Returns:
      the critical count
    • setCriticalCount

      public void setCriticalCount(Integer pCriticalCount)
      Sets the critical count.
      Parameters:
      pCriticalCount - the new critical count
    • getEndTime

      public Timestamp getEndTime()
      returns the Timestamp end time when the scan result completed. Will be null if scan status is 'RUNNING'
      Returns:
      the end time
    • setEndTime

      public void setEndTime(Timestamp pEndTime)
      Sets the end time.
      Parameters:
      pEndTime - the new end time
    • getEnvironmentId

      public Long getEnvironmentId()
      returns the Long environment id.
      Returns:
      the environment id
    • setEnvironmentId

      public void setEnvironmentId(Long pEnvironmentId)
      Sets the environment id.
      Parameters:
      pEnvironmentId - the new environment id
    • getExtScanId

      public String getExtScanId()
      returns the String external scan id. This field may be null depending on the Type and SubType.
      Returns:
      the ext scan id
    • setExtScanId

      public void setExtScanId(String pExtScanId)
      Sets the ext scan id.
      Parameters:
      pExtScanId - the new ext scan id
    • getExtScanUrl

      public String getExtScanUrl()
      returns the String external scan url. This field may be null depending on the Type and SubType.
      Returns:
      the ext scan url
    • setExtScanUrl

      public void setExtScanUrl(String pExtScanUrl)
      Sets the ext scan url.
      Parameters:
      pExtScanUrl - the new ext scan url
    • getHighCount

      public Integer getHighCount()
      returns the Integer high count.
      Returns:
      the high count
    • setHighCount

      public void setHighCount(Integer pHighCount)
      Sets the high count.
      Parameters:
      pHighCount - the new high count
    • getInstanceId

      public Long getInstanceId()
      returns the Long instance id.
      Returns:
      the instance id
    • setInstanceId

      public void setInstanceId(Long pInstanceId)
      Sets the instance id.
      Parameters:
      pInstanceId - the new instance id
    • getLowCount

      public Integer getLowCount()
      returns the Integer low count.
      Returns:
      the low count
    • setLowCount

      public void setLowCount(Integer pLowCount)
      Sets the low count.
      Parameters:
      pLowCount - the new low count
    • getMediumCount

      public Integer getMediumCount()
      returns the Integer medium count.
      Returns:
      the medium count
    • setMediumCount

      public void setMediumCount(Integer pMediumCount)
      Sets the medium count.
      Parameters:
      pMediumCount - the new medium count
    • getProjectId

      public Long getProjectId()
      returns the Long project id.
      Returns:
      the project id
    • setProjectId

      public void setProjectId(Long pProjectId)
      Sets the project id.
      Parameters:
      pProjectId - the new project id
    • getScanStatus

      public String getScanStatus()
      returns the String scan status. Valid values include ['RUNNING', 'SUCCESS', 'FAILED']
      Returns:
      the scan status
    • setScanStatus

      public void setScanStatus(String pScanStatus)
      Sets the scan status.
      Parameters:
      pScanStatus - the new scan status
    • getStartTime

      public Timestamp getStartTime()
      returns the Timestamp start time when the scan result started.
      Returns:
      the start time
    • setStartTime

      public void setStartTime(Timestamp pStartTime)
      Sets the start time.
      Parameters:
      pStartTime - the new start time
    • getSubType

      public String getSubType()
      returns the String subType. I.E. 'Acunetix', 'Checkmarx', 'PMD', 'SonarQube', etc..
      Returns:
      the sub type
    • setSubType

      public void setSubType(String pSubType)
      Sets the sub type.
      Parameters:
      pSubType - the new sub type
    • getType

      public String getType()
      returns the String type. I.E. 'SAST' (Static Application Security Testing), 'OSA' (Open Source Analysis), etc..
      Returns:
      the type
    • setType

      public void setType(String pType)
      Sets the type.
      Parameters:
      pType - the new type
    • getWorkflowExecutionId

      public Long getWorkflowExecutionId()
      returns the Long workflow execution id.
      Returns:
      the workflow execution id
    • setWorkflowExecutionId

      public void setWorkflowExecutionId(Long pWorkflowExecutionId)
      Sets the workflow execution id.
      Parameters:
      pWorkflowExecutionId - the new workflow execution id
    • setScanResultDetailDataobjects

      public void setScanResultDetailDataobjects(List<ScanResultDetailDataObject> pScanResultDetailDataobjects)
      Sets the scan result detail dataobjects.
      Parameters:
      pScanResultDetailDataobjects - the new scan result detail dataobjects
    • getScanResultDetailDataobjects

      public List<ScanResultDetailDataObject> getScanResultDetailDataobjects()
      Gets the scan result detail dataobjects.
      Returns:
      the scan result detail dataobjects
    • getCreatedOn

      public Timestamp getCreatedOn()
      returns the Timestamp created on.
      Returns:
      the created on
    • setCreatedOn

      public void setCreatedOn(Timestamp pCreatedOn)
      Sets the created on.
      Parameters:
      pCreatedOn - the new created on
    • getCreatedBy

      public String getCreatedBy()
      returns the created by username.
      Returns:
      the created by
    • setCreatedBy

      public void setCreatedBy(String pCreatedBy)
      Sets the created by.
      Parameters:
      pCreatedBy - the new created by
    • getCreatedByUser

      public CompletableFuture<FlxUserDataObject> getCreatedByUser(graphql.schema.DataFetchingEnvironment environment)
      Gets the created by user.
      Parameters:
      environment - the environment
      Returns:
      the created by user
    • getUpdatedOn

      public Timestamp getUpdatedOn()
      returns the Timestamp updated on.
      Returns:
      the updated on
    • setUpdatedOn

      public void setUpdatedOn(Timestamp pUpdatedOn)
      Sets the updated on.
      Parameters:
      pUpdatedOn - the new updated on
    • getUpdatedBy

      public String getUpdatedBy()
      returns the updated by username.
      Returns:
      the updated by
    • setUpdatedBy

      public void setUpdatedBy(String pUpdatedBy)
      Sets the updated by.
      Parameters:
      pUpdatedBy - the new updated by
    • getUpdatedByUser

      public CompletableFuture<FlxUserDataObject> getUpdatedByUser(graphql.schema.DataFetchingEnvironment environment)
      Gets the updated by user.
      Parameters:
      environment - the environment
      Returns:
      the updated by user
    • getVersionNumber

      public Integer getVersionNumber()
      Gets the version number.
      Returns:
      the version number
    • setVersionNumber

      public void setVersionNumber(Integer pVersionNumber)
      Sets the version number.
      Parameters:
      pVersionNumber - the new version number
    • getTargetGroup

      public CompletableFuture<TargetGroupDataObject> getTargetGroup(graphql.schema.DataFetchingEnvironment pDataFetchingEnvironment)
      Gets the target group.
      Parameters:
      pDataFetchingEnvironment - the data fetching environment
      Returns:
      the target group
    • getEnvironment

      public CompletableFuture<EnvironmentDataObject> getEnvironment(graphql.schema.DataFetchingEnvironment pDataFetchingEnvironment)
      Gets the environment.
      Parameters:
      pDataFetchingEnvironment - the data fetching environment
      Returns:
      the environment
    • getProject

      public CompletableFuture<ProjectDataObject> getProject(graphql.schema.DataFetchingEnvironment pDataFetchingEnvironment)
      Gets the project.
      Parameters:
      pDataFetchingEnvironment - the data fetching environment
      Returns:
      the project
    • toString

      public String toString()
      Returns the non secured class variables as comma seperated for logging purpose
      Returns:
      the object log argument