Class ProviderStream

java.lang.Object
org.jdrupes.builder.api.ProviderStream

@Deprecated public class ProviderStream extends Object
Deprecated.
Helper class for implementing Project.from(Intend, Intend...).
  • Constructor Details

    • ProviderStream

      public ProviderStream(Project project)
      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

      public ProviderStream without(Class<? extends ResourceProvider> providerType)
      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

      public <T extends Resource> Stream<T> get(ResourceQuery<T> request)
      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