public class SecurityCheckResultImpl extends java.lang.Object implements SecurityCheckResult
SecurityCheckResult. A basic container for information about the
outcome of the check.| Constructor and Description |
|---|
SecurityCheckResultImpl(SecurityCheck check,
boolean passed)
Builds a new Security Check Result object.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getName()
Gets the name of the check.
|
boolean |
passed()
Gets the check result.
|
public SecurityCheckResultImpl(@NonNull
SecurityCheck check,
boolean passed)
check - the check class that produced this resultpassed - whether the check has been passed or notjava.lang.IllegalArgumentException - if check is nullpublic java.lang.String getName()
getName in interface SecurityCheckResultString name of checkpublic boolean passed()
passed in interface SecurityCheckResulttrue if the check was successful