Package com.io7m.idstore.services.api

# Interface IdServiceDirectoryBuilderType

public interface IdServiceDirectoryBuilderType
A mutable builder for service directories.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `IdServiceDirectoryType`
  `build()`
  `<T extends IdServiceType>
  IdServiceDirectoryBuilderType`
  `register(Class<T> clazz, T service)`
  Register the given service.

- ## Method Details

  - ### register

    <T extends IdServiceType> IdServiceDirectoryBuilderType register(Class<T> clazz, T service)
    Register the given service.
    Type Parameters:
      `T` - The type of service
    Parameters:
      `clazz` - The service interface
      `service` - The service
    Returns:
      this

  - ### build

    IdServiceDirectoryType build()
    Returns:
      A service directory