public abstract class RepositoryFactory extends Object
Constructor and Description |
---|
RepositoryFactory() |
Modifier and Type | Method and Description |
---|---|
abstract Repository |
createRepository(Repository parent,
String name,
URI source)
Creates a new
Repository with a parent (for delegating
module resolutions) and a name. |
abstract Repository |
createRepository(String name,
URI source)
Creates a new
Repository . |
abstract boolean |
handleType(String type)
Returns true if this factory can handle this type of repository
|
public abstract boolean handleType(String type)
type
- repository typepublic abstract Repository createRepository(Repository parent, String name, 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(String name, URI source)
Repository
. The URI source identifies the
repository location.name
- the repository namesource
- the location of the repositoryCopyright © 2009–2023 Oracle Corporation. All rights reserved.