Package com.io7m.coffeepick.shipilev_net
Class ASRepositoryProvider
- java.lang.Object
-
- com.io7m.coffeepick.shipilev_net.ASRepositoryProvider
-
- All Implemented Interfaces:
RuntimeRepositoryProviderType
public final class ASRepositoryProvider extends java.lang.Object implements RuntimeRepositoryProviderType
A builds.shipilev.net repository provider.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringPROVIDER_NAMEThe name of the provider.static java.net.URIPROVIDER_URIThe URI of the provider.
-
Constructor Summary
Constructors Constructor Description ASRepositoryProvider()Construct a provider.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Stringname()RuntimeRepositoryTypeopenRepository(RuntimeRepositoryContextType context)Create a new repository.java.net.URIuri()
-
-
-
Field Detail
-
PROVIDER_URI
public static final java.net.URI PROVIDER_URI
The URI of the provider.
-
PROVIDER_NAME
public static final java.lang.String PROVIDER_NAME
The name of the provider.- See Also:
- Constant Field Values
-
-
Method Detail
-
uri
public java.net.URI uri()
- Specified by:
uriin interfaceRuntimeRepositoryProviderType- Returns:
- The URI that uniquely identifies this repository
-
name
public java.lang.String name()
- Specified by:
namein interfaceRuntimeRepositoryProviderType- Returns:
- The name of the repository
-
openRepository
public RuntimeRepositoryType openRepository(RuntimeRepositoryContextType context) throws java.io.IOException
Description copied from interface:RuntimeRepositoryProviderTypeCreate a new repository.- Specified by:
openRepositoryin interfaceRuntimeRepositoryProviderType- Parameters:
context- The runtime repository context- Returns:
- A new repository
- Throws:
java.io.IOException- On I/O errors
-
-