Package flexagon.fd.model2.pojo
Class ScanResultDataObject
java.lang.Object
FlexDataObject
flexagon.fd.model2.pojo.ScanResultDataObject
public class ScanResultDataObject
extends FlexDataObject
The Class ScanResultDataObject.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionreturns the created by username.getCreatedByUser(graphql.schema.DataFetchingEnvironment environment) Gets the created by user.returns the Timestamp created on.returns the Integer critical count.returns the Timestamp end time when the scan result completed.getEnvironment(graphql.schema.DataFetchingEnvironment pDataFetchingEnvironment) Gets the environment.returns the Long environment id.returns the String external scan id.returns the String external scan url.returns the Integer high count.returns the Long instance id.returns the Integer low count.returns the Integer medium count.getProject(graphql.schema.DataFetchingEnvironment pDataFetchingEnvironment) Gets the project.returns the Long project id.Gets the scan result detail dataobjects.returns the Long scan result id.returns the String scan status.returns the Timestamp start time when the scan result started.returns the String subType.getTargetGroup(graphql.schema.DataFetchingEnvironment pDataFetchingEnvironment) Gets the target group.getType()returns the String type.returns the updated by username.getUpdatedByUser(graphql.schema.DataFetchingEnvironment environment) Gets the updated by user.returns the Timestamp updated on.Gets the version number.returns the Long workflow execution id.voidsetCreatedBy(String pCreatedBy) Sets the created by.voidsetCreatedOn(Timestamp pCreatedOn) Sets the created on.voidsetCriticalCount(Integer pCriticalCount) Sets the critical count.voidsetEndTime(Timestamp pEndTime) Sets the end time.voidsetEnvironmentId(Long pEnvironmentId) Sets the environment id.voidsetExtScanId(String pExtScanId) Sets the ext scan id.voidsetExtScanUrl(String pExtScanUrl) Sets the ext scan url.voidsetHighCount(Integer pHighCount) Sets the high count.voidsetInstanceId(Long pInstanceId) Sets the instance id.voidsetLowCount(Integer pLowCount) Sets the low count.voidsetMediumCount(Integer pMediumCount) Sets the medium count.voidsetProjectId(Long pProjectId) Sets the project id.voidsetScanResultDetailDataobjects(List<ScanResultDetailDataObject> pScanResultDetailDataobjects) Sets the scan result detail dataobjects.voidsetScanResultId(Long pScanResultId) Sets the scan result id.voidsetScanStatus(String pScanStatus) Sets the scan status.voidsetStartTime(Timestamp pStartTime) Sets the start time.voidsetSubType(String pSubType) Sets the sub type.voidSets the type.voidsetUpdatedBy(String pUpdatedBy) Sets the updated by.voidsetUpdatedOn(Timestamp pUpdatedOn) Sets the updated on.voidsetVersionNumber(Integer pVersionNumber) Sets the version number.voidsetWorkflowExecutionId(Long pWorkflowExecutionId) Sets the workflow execution id.toString()Returns the non secured class variables as comma seperated for logging purpose
-
Constructor Details
-
ScanResultDataObject
public ScanResultDataObject()
-
-
Method Details
-
getScanResultId
returns the Long scan result id.- Returns:
- the scan result id
-
setScanResultId
Sets the scan result id.- Parameters:
pScanResultId- the new scan result id
-
getCriticalCount
returns the Integer critical count.- Returns:
- the critical count
-
setCriticalCount
Sets the critical count.- Parameters:
pCriticalCount- the new critical count
-
getEndTime
returns the Timestamp end time when the scan result completed. Will be null if scan status is 'RUNNING'- Returns:
- the end time
-
setEndTime
Sets the end time.- Parameters:
pEndTime- the new end time
-
getEnvironmentId
returns the Long environment id.- Returns:
- the environment id
-
setEnvironmentId
Sets the environment id.- Parameters:
pEnvironmentId- the new environment id
-
getExtScanId
returns the String external scan id. This field may be null depending on the Type and SubType.- Returns:
- the ext scan id
-
setExtScanId
Sets the ext scan id.- Parameters:
pExtScanId- the new ext scan id
-
getExtScanUrl
returns the String external scan url. This field may be null depending on the Type and SubType.- Returns:
- the ext scan url
-
setExtScanUrl
Sets the ext scan url.- Parameters:
pExtScanUrl- the new ext scan url
-
getHighCount
returns the Integer high count.- Returns:
- the high count
-
setHighCount
Sets the high count.- Parameters:
pHighCount- the new high count
-
getInstanceId
returns the Long instance id.- Returns:
- the instance id
-
setInstanceId
Sets the instance id.- Parameters:
pInstanceId- the new instance id
-
getLowCount
returns the Integer low count.- Returns:
- the low count
-
setLowCount
Sets the low count.- Parameters:
pLowCount- the new low count
-
getMediumCount
returns the Integer medium count.- Returns:
- the medium count
-
setMediumCount
Sets the medium count.- Parameters:
pMediumCount- the new medium count
-
getProjectId
returns the Long project id.- Returns:
- the project id
-
setProjectId
Sets the project id.- Parameters:
pProjectId- the new project id
-
getScanStatus
returns the String scan status. Valid values include ['RUNNING', 'SUCCESS', 'FAILED']- Returns:
- the scan status
-
setScanStatus
Sets the scan status.- Parameters:
pScanStatus- the new scan status
-
getStartTime
returns the Timestamp start time when the scan result started.- Returns:
- the start time
-
setStartTime
Sets the start time.- Parameters:
pStartTime- the new start time
-
getSubType
returns the String subType. I.E. 'Acunetix', 'Checkmarx', 'PMD', 'SonarQube', etc..- Returns:
- the sub type
-
setSubType
Sets the sub type.- Parameters:
pSubType- the new sub type
-
getType
returns the String type. I.E. 'SAST' (Static Application Security Testing), 'OSA' (Open Source Analysis), etc..- Returns:
- the type
-
setType
Sets the type.- Parameters:
pType- the new type
-
getWorkflowExecutionId
returns the Long workflow execution id.- Returns:
- the workflow execution id
-
setWorkflowExecutionId
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
Gets the scan result detail dataobjects.- Returns:
- the scan result detail dataobjects
-
getCreatedOn
returns the Timestamp created on.- Returns:
- the created on
-
setCreatedOn
Sets the created on.- Parameters:
pCreatedOn- the new created on
-
getCreatedBy
returns the created by username.- Returns:
- the created by
-
setCreatedBy
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
returns the Timestamp updated on.- Returns:
- the updated on
-
setUpdatedOn
Sets the updated on.- Parameters:
pUpdatedOn- the new updated on
-
getUpdatedBy
returns the updated by username.- Returns:
- the updated by
-
setUpdatedBy
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
Gets the version number.- Returns:
- the version number
-
setVersionNumber
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
Returns the non secured class variables as comma seperated for logging purpose- Returns:
- the object log argument
-