Enum Class TestScriptDisplay.Severity
java.lang.Object
java.lang.Enum<TestScriptDisplay.Severity>
org.fhirfrog.frog.testscriptrender.TestScriptDisplay.Severity
- All Implemented Interfaces:
Serializable,Comparable<TestScriptDisplay.Severity>,Constable
- Enclosing class:
- TestScriptDisplay
Whether/how a failing
TestScriptDisplay.StepDisplay gates the phase's pass/fail outcome.
Mirrors the semantics PhaseExecutor.isWarningOnly in fhir-frog-library
actually implements: WARNING_ONLY assertions are recorded but never fail the run;
everything else does.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionA normal assert: a failure fails the phase.Not an assert (an operation step), or an assert with no bearing on pass/fail.assert.warningOnly = true: a failure is reported but does not fail the phase. -
Method Summary
Modifier and TypeMethodDescriptionstatic TestScriptDisplay.SeverityReturns the enum constant of this class with the specified name.static TestScriptDisplay.Severity[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NONE
Not an assert (an operation step), or an assert with no bearing on pass/fail. -
MUST_PASS
A normal assert: a failure fails the phase. -
WARNING_ONLY
assert.warningOnly = true: a failure is reported but does not fail the phase.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-