@FunctionalInterface public interface ISVRLErrorLevelDeterminator extends Serializable
Modifier and Type | Method and Description |
---|---|
default com.helger.commons.error.level.IErrorLevel |
getErrorLevelFromFailedAssert(FailedAssert aFailedAssert)
Get the error level associated with a single failed assertion.
|
default com.helger.commons.error.level.IErrorLevel |
getErrorLevelFromFlag(String sFlag)
Deprecated.
|
com.helger.commons.error.level.IErrorLevel |
getErrorLevelFromString(String sValue)
Get the error level associated with a single failed assertion/successful
report.
|
default com.helger.commons.error.level.IErrorLevel |
getErrorLevelFromSuccessfulReport(SuccessfulReport aSuccessfulReport)
Get the error level associated with a single successful report.
|
@Nonnull @Deprecated @DevelopersNote(value="Use getErrorLevelFromString instead") default com.helger.commons.error.level.IErrorLevel getErrorLevelFromFlag(@Nullable String sFlag)
sFlag
- The flag to be queried. May be null
.null
.@Nonnull com.helger.commons.error.level.IErrorLevel getErrorLevelFromString(@Nullable String sValue)
sValue
- The value to be queried. May be null
.null
.@Nonnull default com.helger.commons.error.level.IErrorLevel getErrorLevelFromFailedAssert(@Nonnull FailedAssert aFailedAssert)
aFailedAssert
- The failed assert to be queried. May not be null
.null
.@Nonnull default com.helger.commons.error.level.IErrorLevel getErrorLevelFromSuccessfulReport(@Nonnull SuccessfulReport aSuccessfulReport)
aSuccessfulReport
- The failed assert to be queried. May not be null
.null
.Copyright © 2014–2019 Philip Helger. All rights reserved.