Class ComponentProvider

  • All Implemented Interfaces:
    Provider

    public class ComponentProvider
    extends java.lang.Object
    implements Provider
    • Constructor Detail

      • ComponentProvider

        public ComponentProvider​(Metadata metadata,
                                 java.lang.Package pkg)
    • Method Detail

      • getSchema

        public java.util.concurrent.CompletableFuture<GetSchemaResponse> getSchema​(GetSchemaRequest request)
        Description copied from interface: Provider
        Returns the schema for this provider's package.
        Specified by:
        getSchema in interface Provider
        Parameters:
        request - The schema request
        Returns:
        A future containing the schema response
      • construct

        public java.util.concurrent.CompletableFuture<ConstructResponse> construct​(ConstructRequest request)
        Description copied from interface: Provider
        Construct a component resource given the type name and inputs, and returning the URN and any outputs.
        Specified by:
        construct in interface Provider
        Parameters:
        request - The construction request
        Returns:
        A future containing the construction response