@Experimental public interface RepositoryFactory extends Service
LocalRepository
or RemoteRepository
objects.Modifier and Type | Method and Description |
---|---|
LocalRepository |
createLocal(Path path) |
RemoteRepository |
createRemote(Repository repository) |
RemoteRepository |
createRemote(String id,
String url) |
@Nonnull LocalRepository createLocal(@Nonnull Path path)
@Nonnull RemoteRepository createRemote(@Nonnull Repository repository)
Copyright © 2001–2022 The Apache Software Foundation. All rights reserved.