# Class MEAdoptium

java.lang.Object
com.io7m.montarre.adoptium.internal.MEAdoptium

All Implemented Interfaces:
  `MEAdoptiumType`, `AutoCloseable`

public final class MEAdoptium extends Object implements MEAdoptiumType
The Adoptium client.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `MEAdoptium(MEAdoptiumConfiguration inConfiguration, HttpClient inHttpClient)`
  The Adoptium client.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `close()`
  `List<MEARuntime>`
  `runtimes(MEARuntimeSearch search)`
  Search for runtimes.

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### MEAdoptium

    public MEAdoptium(MEAdoptiumConfiguration inConfiguration, HttpClient inHttpClient)
    The Adoptium client.
    Parameters:
      `inConfiguration` - The configuration
      `inHttpClient` - The HTTP client

- ## Method Details

  - ### runtimes

    public List<MEARuntime> runtimes(MEARuntimeSearch search) throws MException
    Description copied from interface: `MEAdoptiumType`
    Search for runtimes.
    Specified by:
      `runtimes` in interface `MEAdoptiumType`
    Parameters:
      `search` - The search parameters
    Returns:
      The runtimes
    Throws:
      `MException` - On errors

  - ### close

    public void close() throws MException
    Specified by:
      `close` in interface `AutoCloseable`
    Specified by:
      `close` in interface `MEAdoptiumType`
    Throws:
      `MException`