public class DefaultSVRLErrorLevelDeterminator extends Object implements ISVRLErrorLevelDeterminator
ISVRLErrorLevelDeterminator
.Modifier and Type | Field and Description |
---|---|
static com.helger.commons.error.IErrorLevel |
DEFAULT_ERROR_LEVEL |
Constructor and Description |
---|
DefaultSVRLErrorLevelDeterminator() |
Modifier and Type | Method and Description |
---|---|
com.helger.commons.error.IErrorLevel |
getErrorLevelFromFailedAssert(FailedAssert aFailedAssert)
Get the error level associated with a single failed assertion.
|
com.helger.commons.error.IErrorLevel |
getErrorLevelFromFlag(String sFlag)
Get the error level associated with a single failed assertion.
|
com.helger.commons.error.IErrorLevel |
getErrorLevelFromSuccessfulReport(SuccessfulReport aSuccessfulReport)
Get the error level associated with a single successful report.
|
public static final com.helger.commons.error.IErrorLevel DEFAULT_ERROR_LEVEL
@Nonnull public com.helger.commons.error.IErrorLevel getErrorLevelFromFlag(@Nullable String sFlag)
sFlag
- The flag to be queried. May be null
.null
.@Nonnull public com.helger.commons.error.IErrorLevel getErrorLevelFromFailedAssert(@Nonnull FailedAssert aFailedAssert)
ISVRLErrorLevelDeterminator
getErrorLevelFromFailedAssert
in interface ISVRLErrorLevelDeterminator
aFailedAssert
- The failed assert to be queried. May not be null
.null
.@Nonnull public com.helger.commons.error.IErrorLevel getErrorLevelFromSuccessfulReport(@Nonnull SuccessfulReport aSuccessfulReport)
ISVRLErrorLevelDeterminator
getErrorLevelFromSuccessfulReport
in interface ISVRLErrorLevelDeterminator
aSuccessfulReport
- The failed assert to be queried. May not be null
.null
.Copyright © 2014–2016 Philip Helger. All rights reserved.