public void setExecutionProgressStatus(ResultStatus status) {
executionProgressStatus = status;
}
public void detectMissingItems() {
SecurityScan securityCheck = getSecurityScan();
if (getStatus().equals(ResultStatus.SKIPPED)) {
executionProgressStatus = ResultStatus.SKIPPED;
}
if (securityCheck instanceof AbstractSecurityScanWithProperties
&& ((AbstractSecurityScanWithProperties) securityCheck).getParameterHolder().getParameterList().size() == 0) {
logIconStatus = ResultStatus.MISSING_PARAMETERS;
executionProgressStatus = ResultStatus.MISSING_PARAMETERS;
}
if (securityCheck.getAssertionCount() == 0) {
logIconStatus = ResultStatus.MISSING_ASSERTIONS;
executionProgressStatus = ResultStatus.MISSING_ASSERTIONS;
}
if (getStatus().equals(ResultStatus.CANCELED)) {
executionProgressStatus = ResultStatus.CANCELED;