public class SecurityScanRequestResult extends Object implements SecurityResult
SecurityResult.ResultStatus
Constructor and Description |
---|
SecurityScanRequestResult(SecurityScan securityCheck) |
Modifier and Type | Method and Description |
---|---|
void |
addMessage(String message) |
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
|
String |
getChangedParamsInfo(int requestCount) |
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() |
MessageExchange |
getMessageExchange() |
String[] |
getMessages() |
String |
getResultType()
Gets type of specific result, i.e.
|
SecurityScan |
getSecurityScan() |
long |
getSize()
Used for calculating the output
|
SecurityResult.ResultStatus |
getStatus() |
long |
getTimeStamp() |
long |
getTimeTaken() |
boolean |
isDiscarded() |
void |
release() |
void |
setMessageExchange(MessageExchange messageExchange) |
void |
setStatus(SecurityResult.ResultStatus status) |
void |
setTimeTaken(long timeTaken) |
void |
startTimer() |
void |
stopTimer() |
void |
writeTo(PrintWriter writer)
Writes this result to the specified writer, used for logging.
|
public static final String TYPE
public SecurityScanRequestResult(SecurityScan securityCheck)
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 String[] getMessages()
public void addMessage(String message)
public long getTimeTaken()
public long getTimeStamp()
public long getSize()
public void writeTo(PrintWriter writer)
public void discard()
public boolean isDiscarded()
public MessageExchange getMessageExchange()
public void setMessageExchange(MessageExchange messageExchange)
public void setTimeTaken(long timeTaken)
public void startTimer()
public void stopTimer()
public String getResultType()
SecurityResult
getResultType
in interface SecurityResult
public SecurityResult.ResultStatus getExecutionProgressStatus()
SecurityResult
getExecutionProgressStatus
in interface SecurityResult
public SecurityResult.ResultStatus getLogIconStatus()
getLogIconStatus
in interface SecurityResult
public String getChangedParamsInfo(int requestCount)
public void release()
Copyright © 2019. All Rights Reserved.