public class SecurityScanResult extends Object implements SecurityResult
SecurityResult.ResultStatus
Modifier and Type | Field and Description |
---|---|
static int |
MAX_REQ_LOG_ENTRY_LENGTH |
static int |
MAX_SECURITY_CHANGED_PARAMETERS_LENGTH |
SecurityScan |
securityCheck |
StringBuffer |
testLog |
static String |
TYPE |
Constructor and Description |
---|
SecurityScanResult(SecurityScan securityCheck) |
Modifier and Type | Method and Description |
---|---|
void |
addSecurityRequestResult(SecurityScanRequestResult secReqResult) |
void |
detectMissingItems() |
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() |
String |
getResultType()
Gets type of specific result, i.e.
|
List<SecurityScanRequestResult> |
getSecurityRequestResultList() |
SecurityScan |
getSecurityScan() |
String |
getSecurityScanName() |
String |
getSecurityTestLog()
Raturns Security Test Log
|
long |
getSize()
Used for calculating the output
|
SecurityResult.ResultStatus |
getStatus() |
String |
getStatusString() |
long |
getTimeStamp()
Returns time stamp when test is started.
|
long |
getTimeTaken() |
boolean |
isCanceled() |
boolean |
isDiscarded() |
boolean |
isHasRequestsWithWarnings() |
void |
release() |
void |
setExecutionProgressStatus(SecurityResult.ResultStatus status) |
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 SecurityScan securityCheck
public StringBuffer testLog
public static final int MAX_REQ_LOG_ENTRY_LENGTH
public static final int MAX_SECURITY_CHANGED_PARAMETERS_LENGTH
public SecurityScanResult(SecurityScan securityCheck)
public List<SecurityScanRequestResult> getSecurityRequestResultList()
public SecurityResult.ResultStatus getStatus()
getStatus
in interface SecurityResult
public void setStatus(SecurityResult.ResultStatus status)
public SecurityScan getSecurityScan()
public ActionList getActions()
getActions
in interface SecurityResult
public void addSecurityRequestResult(SecurityScanRequestResult secReqResult)
public long getTimeTaken()
public long getSize()
public void writeTo(PrintWriter writer)
public void discard()
public boolean isDiscarded()
public long getTimeStamp()
public String getSecurityTestLog()
public String getResultType()
SecurityResult
getResultType
in interface SecurityResult
public boolean isCanceled()
public boolean isHasRequestsWithWarnings()
public SecurityResult.ResultStatus getExecutionProgressStatus()
SecurityResult
getExecutionProgressStatus
in interface SecurityResult
public void setExecutionProgressStatus(SecurityResult.ResultStatus status)
public void detectMissingItems()
public SecurityResult.ResultStatus getLogIconStatus()
getLogIconStatus
in interface SecurityResult
public String getSecurityScanName()
public String getLogIconStatusString()
public String getStatusString()
public void release()
Copyright © 2019. All Rights Reserved.