public abstract class RepositoryFactory
extends java.lang.Object
Constructor and Description |
---|
RepositoryFactory() |
Modifier and Type | Method and Description |
---|---|
abstract Repository |
createRepository(Repository parent,
java.lang.String name,
java.net.URI source)
Creates a new
Repository with a parent (for delegating
module resolutions) and a name. |
abstract Repository |
createRepository(java.lang.String name,
java.net.URI source)
Creates a new
Repository . |
abstract boolean |
handleType(java.lang.String type)
Returns true if this factory can handle this type of repository
|
public abstract boolean handleType(java.lang.String type)
type
- repository typepublic abstract Repository createRepository(Repository parent, java.lang.String name, java.net.URI source)
Repository
with a parent (for delegating
module resolutions) and a name. The URI source identifies the repository
location.parent
- the parent Repository
to delegate module
resolutionname
- the repository namesource
- the location of the repositorypublic abstract Repository createRepository(java.lang.String name, java.net.URI source)
Repository
. The URI source identifies the
repository location.name
- the repository namesource
- the location of the repository