public sealed interface LogProviderRef
Log LogProvider Source.
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic class
Thrown if a provider could not be found for the ref. -
Method Summary
Modifier and TypeMethodDescription@Nullable String
Property key from where the URI came from ornull
.static LogProviderRef
of
(LogProperty.Result.Success<? extends URI> property) Create a provider ref from a property result.static LogProviderRef
Creates a log provider ref from URI.static LogProviderRef
Creates a log provider ref from URI.uri()
URI of the log provider.
-
Method Details
-
uri
URI of the log provider.- Returns:
- uri not
null
.
-
keyOrNull
Property key from where the URI came from ornull
.- Returns:
- property key.
-
of
Creates a log provider ref from URI.- Parameters:
uri
- uri.- Returns:
- ref.
-
of
Create a provider ref from a property result.- Parameters:
property
- successful URI result.- Returns:
- provider ref.
-
of
Creates a log provider ref from URI.- Parameters:
uri
- uri.key
- property key where URI came from.- Returns:
- ref.
-