- Enclosing interface:
DiscoveryIssue
public static interface DiscoveryIssue.Builder
Builder for creating a
DiscoveryIssue
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Build theDiscoveryIssue
.Set theThrowable
that caused theDiscoveryIssue
.default DiscoveryIssue.Builder
Set theThrowable
that caused theDiscoveryIssue
.default DiscoveryIssue.Builder
source
(Optional<TestSource> source) Set theTestSource
for theDiscoveryIssue
.source
(TestSource source) Set theTestSource
for theDiscoveryIssue
.
-
Method Details
-
source
Set theTestSource
for theDiscoveryIssue
.- Parameters:
source
- theTestSource
for theDiscoveryIssue
; nevernull
but potentially empty
-
source
Set theTestSource
for theDiscoveryIssue
.- Parameters:
source
- theTestSource
for theDiscoveryIssue
; may benull
-
cause
Set theThrowable
that caused theDiscoveryIssue
.- Parameters:
cause
- theThrowable
that caused theDiscoveryIssue
; nevernull
but potentially empty
-
cause
Set theThrowable
that caused theDiscoveryIssue
.- Parameters:
cause
- theThrowable
that caused theDiscoveryIssue
; may benull
-
build
DiscoveryIssue build()Build theDiscoveryIssue
.
-