Interface DiscoveryIssue
DiscoveryIssue represents an issue that was encountered during test
discovery by a TestEngine.- Since:
- 1.13
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceBuilder for creating aDiscoveryIssue.static enumThe severity of aDiscoveryIssue. -
Method Summary
Modifier and TypeMethodDescriptionstatic DiscoveryIssue.Builderbuilder(DiscoveryIssue.Severity severity, String message) Create a newDiscoveryIssue.Builderfor creating aDiscoveryIssuewith the suppliedDiscoveryIssue.Severityand message.cause()Returns the cause of this issue.static DiscoveryIssuecreate(DiscoveryIssue.Severity severity, String message) Create a newDiscoveryIssuewith the suppliedDiscoveryIssue.Severityand message.message()Returns the message of this issue.severity()Returns the severity of this issue.source()Returns the source of this issue.default DiscoveryIssuewithMessage(UnaryOperator<String> messageModifier) Create a copy of this issue with the modified message produced by the supplied operator.
-
Method Details
-
create
Create a newDiscoveryIssuewith the suppliedDiscoveryIssue.Severityand message.- Parameters:
severity- the severity of the issue; nevernullmessage- the message of the issue; never blank- See Also:
-
builder
Create a newDiscoveryIssue.Builderfor creating aDiscoveryIssuewith the suppliedDiscoveryIssue.Severityand message.- Parameters:
severity- the severity of the issue; nevernullmessage- the message of the issue; never blank- See Also:
-
severity
DiscoveryIssue.Severity severity()Returns the severity of this issue.- Returns:
- the severity of this issue
-
message
-
source
-
cause
-
withMessage
Create a copy of this issue with the modified message produced by the supplied operator.
-