Interface ProtocolAdapterDiscoveryOutput
-
public interface ProtocolAdapterDiscoveryOutput
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidfail(@NotNull String errorMessage)Signals that something went wrong during discovery.voidfail(@NotNull Throwable t, @Nullable String errorMessage)Signals that something went wrong during discovery.voidfinish()Signals Edge that all data is discovered.@NotNull NodeTreegetNodeTree()
-
-
-
Method Detail
-
getNodeTree
@NotNull @NotNull NodeTree getNodeTree()
- Returns:
- the tree to which the discovered nodes should be added.
-
finish
void finish()
Signals Edge that all data is discovered.
-
fail
void fail(@NotNull @NotNull Throwable t, @Nullable @Nullable String errorMessage)
Signals that something went wrong during discovery.- Parameters:
t- Throwable indicating what went wrong.errorMessage- an optional error message delivering further insights.
-
-