public interface DiscoveryResult
| Modifier and Type | Method and Description |
|---|---|
void |
addMatch(ServiceURL serviceURL)
Indicate that a matching service URL was discovered.
|
default void |
addMatch(URI uri)
Indicate that a matching URI was discovered.
|
void |
complete()
Indicate that discovery is complete.
|
void |
reportProblem(Throwable description)
Report a discovery problem.
|
void complete()
addMatch(ServiceURL)
will be ignored.void reportProblem(Throwable description)
description - a description of the problem (must not be null)default void addMatch(URI uri)
uri - the discovered URIvoid addMatch(ServiceURL serviceURL)
serviceURL - the discovered service URLCopyright © 2017 JBoss by Red Hat. All rights reserved.