@Role
@Unstable
public interface LiveDataSourceManager
Modifier and Type | Method and Description |
---|---|
default Optional<LiveDataSource> |
get(LiveDataQuery.Source source)
Looks for a live data source in the current namespace.
|
Optional<LiveDataSource> |
get(LiveDataQuery.Source source,
String namespace)
Looks for a live data source in the specified namespace.
|
default Optional<LiveDataSource> |
get(String sourceHint)
Looks for a live data source in the current namespace.
|
default Optional<LiveDataSource> |
get(String sourceHint,
String namespace)
Looks for a live data source in the specified namespace.
|
default Collection<String> |
getAvailableSources() |
Optional<Collection<String>> |
getAvailableSources(String namespace) |
Optional<LiveDataSource> get(LiveDataQuery.Source source, String namespace)
source
- indicates the live data source to returnnamespace
- the namespace where to look for the specified live data sourcedefault Optional<LiveDataSource> get(LiveDataQuery.Source source)
source
- indicates the live data source to returndefault Optional<LiveDataSource> get(String sourceHint, String namespace)
sourceHint
- indicates the live data source to returnnamespace
- the namespace where to look for the specified live data sourcedefault Optional<LiveDataSource> get(String sourceHint)
sourceHint
- indicates the live data source to returnOptional<Collection<String>> getAvailableSources(String namespace)
namespace
- the namespace where to look for live data sourcesdefault Collection<String> getAvailableSources()
Copyright © 2004–2022 XWiki. All rights reserved.