Interface ImageServerBuilder.ServerBuilder<T>

Type Parameters:
T -
All Known Implementing Classes:
ImageServerBuilder.AbstractServerBuilder, ImageServerBuilder.DefaultImageServerBuilder
Enclosing interface:
ImageServerBuilder<T>

public static interface ImageServerBuilder.ServerBuilder<T>
Interface that defines a class encapsulating all that is required to build an ImageServer.

Instances should be sufficiently lightweight that they can be easily serialized to/from JSON for storage within projects.

Instances should also be immutable.

  • Method Details

    • build

      ImageServer<T> build() throws Exception
      Build a new ImageServer instance.
      Returns:
      Throws:
      Exception
    • getURIs

      Collection<URI> getURIs()
      Get a list of URIs required by this builder. The purpose is to identify resources that are required.
      Returns:
      See Also:
    • updateURIs

      ImageServerBuilder.ServerBuilder<T> updateURIs(Map<URI,URI> updateMap)
      Update the URIs required by this builder. The purpose is to handle resources that may have moved (e.g. files). Because ServerBuilder should be immutable, this returns a new builder.
      Parameters:
      updateMap -
      Returns:
      See Also: