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 |
getId()
Gets the id of the check.
|
java.lang.String |
getName()
Gets the Display 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 getId()
getId in interface SecurityCheckResultString id of checkpublic java.lang.String getName()
getName in interface SecurityCheckResultString Display Name of checkpublic boolean passed()
passed in interface SecurityCheckResulttrue if the check was successful