public class SecurityTestStepResult extends Object implements SecurityResult
SecurityResult.ResultStatus
Constructor and Description |
---|
SecurityTestStepResult(TestStep testStep,
TestStepResult originalResult) |
Modifier and Type | Method and Description |
---|---|
void |
addSecurityScanResult(SecurityScanResult securityScanResult) |
void |
discard()
Can discard any result data that may be taking up memory.
|
ActionList |
getActions()
Returns a list of actions that can be applied to this result
|
SecurityResult.ResultStatus |
getExecutionProgressStatus()
Gets execution progress status used for indicating icon color in the
SecurityLog introduced in general in case of missing assertions and
missing parameters to match status in progress bars and yet not to need
resultStatus changed
|
SecurityResult.ResultStatus |
getLogIconStatus() |
String |
getLogIconStatusString() |
TestStepResult |
getOriginalTestStepResult() |
String |
getResultType()
Gets type of specific result, i.e.
|
List<SecurityScanResult> |
getSecurityScanResultList() |
String |
getSecurityTestLog()
Raturns Security Test Log
|
String |
getSecurityTestStepName() |
long |
getSize()
Used for calculating the output
|
SecurityResult.ResultStatus |
getStatus() |
String |
getStatusString() |
TestStep |
getTestStep() |
long |
getTimeStamp()
Returns time stamp when test is started.
|
long |
getTimeTaken() |
boolean |
isDiscarded() |
boolean |
isHasScansWithWarnings() |
void |
release() |
void |
setExecutionProgressStatus(SecurityResult.ResultStatus status) |
void |
setOriginalTestStepResult(TestStepResult originalTestStepResult) |
void |
setStatus(SecurityResult.ResultStatus status) |
void |
writeTo(PrintWriter writer)
Writes this result to the specified writer, used for logging.
|
public static final String TYPE
public SecurityTestStepResult(TestStep testStep, TestStepResult originalResult)
public List<SecurityScanResult> getSecurityScanResultList()
public SecurityResult.ResultStatus getStatus()
getStatus
in interface SecurityResult
public void setStatus(SecurityResult.ResultStatus status)
public ActionList getActions()
getActions
in interface SecurityResult
public void addSecurityScanResult(SecurityScanResult securityScanResult)
public boolean isHasScansWithWarnings()
public long getTimeTaken()
public long getSize()
public void writeTo(PrintWriter writer)
public void discard()
public boolean isDiscarded()
public long getTimeStamp()
public TestStepResult getOriginalTestStepResult()
public void setOriginalTestStepResult(TestStepResult originalTestStepResult)
public TestStep getTestStep()
public String getSecurityTestLog()
public String getResultType()
SecurityResult
getResultType
in interface SecurityResult
public SecurityResult.ResultStatus getExecutionProgressStatus()
SecurityResult
getExecutionProgressStatus
in interface SecurityResult
public void setExecutionProgressStatus(SecurityResult.ResultStatus status)
public SecurityResult.ResultStatus getLogIconStatus()
getLogIconStatus
in interface SecurityResult
public String getSecurityTestStepName()
public String getLogIconStatusString()
public String getStatusString()
public void release()
Copyright © 2019. All Rights Reserved.