Class ProviderStream
java.lang.Object
org.jdrupes.builder.api.ProviderStream
Deprecated.
Helper class for implementing
Project.from(Intend, Intend...).-
Constructor Summary
ConstructorsConstructorDescriptionProviderStream(Project project) Deprecated.Initializes a new provider stream. -
Method Summary
Modifier and TypeMethodDescriptionfilter(Predicate<ResourceProvider> filter) Deprecated.get(ResourceQuery<T> request) Deprecated.Returns the requested resources using the context and providers passed to the record's constructor.log(Consumer<ResourceProvider> providerLog) Deprecated.Register a callback for logging the providers used.without(Class<? extends ResourceProvider> providerType) Deprecated.Exclude providers of the given type when requesting resources.without(ResourceProvider provider) Deprecated.Exclude the given provider when requesting resources.
-
Constructor Details
-
ProviderStream
Deprecated.Initializes a new provider stream.- Parameters:
project- the project
-
-
Method Details
-
filter
Deprecated. -
without
Deprecated.Exclude the given provider when requesting resources.- Parameters:
provider- the provider- Returns:
- the from helper
-
without
Deprecated.Exclude providers of the given type when requesting resources.- Parameters:
providerType- the provider type- Returns:
- the from helper
-
log
Deprecated.Register a callback for logging the providers used.- Parameters:
providerLog- the provider log- Returns:
- the from helper
-
get
Deprecated.Returns the requested resources using the context and providers passed to the record's constructor.- Type Parameters:
T- the generic type- Parameters:
request- the request- Returns:
- the stream
-