public sealed interface LogProviderRef
Log LogProvider Source.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classThrown if a provider could not be found for the ref. -
Method Summary
Modifier and TypeMethodDescription@Nullable StringProperty key from where the URI came from ornull.static LogProviderRefof(LogProperty.Result.Success<? extends URI> property) Create a provider ref from a property result.static LogProviderRefCreates a log provider ref from URI.static LogProviderRefCreates 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.
-