Class DefaultDiscoveryIssue.Builder
java.lang.Object
org.junit.platform.engine.DefaultDiscoveryIssue.Builder
- All Implemented Interfaces:
DiscoveryIssue.Builder
- Enclosing class:
DefaultDiscoveryIssue
- Since:
- 1.13
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Stringprivate final DiscoveryIssue.Severityprivate TestSource -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Build theDiscoveryIssue.Set theThrowablethat caused theDiscoveryIssue.source(TestSource source) Set theTestSourcefor theDiscoveryIssue.Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface DiscoveryIssue.Builder
cause, source
-
Field Details
-
severity
-
message
-
source
-
cause
-
-
Constructor Details
-
Builder
Builder(DiscoveryIssue.Severity severity, String message)
-
-
Method Details
-
source
Description copied from interface:DiscoveryIssue.BuilderSet theTestSourcefor theDiscoveryIssue.- Specified by:
sourcein interfaceDiscoveryIssue.Builder- Parameters:
source- theTestSourcefor theDiscoveryIssue; may benull
-
cause
Description copied from interface:DiscoveryIssue.BuilderSet theThrowablethat caused theDiscoveryIssue.- Specified by:
causein interfaceDiscoveryIssue.Builder- Parameters:
cause- theThrowablethat caused theDiscoveryIssue; may benull
-
build
Description copied from interface:DiscoveryIssue.BuilderBuild theDiscoveryIssue.- Specified by:
buildin interfaceDiscoveryIssue.Builder
-