Package org.elasticsearch.repositories
Interface Repository.Factory
-
- Enclosing interface:
- Repository
public static interface Repository.Factory
An factory interface for constructing repositories. SeeRepositoryPlugin
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Repository
create(RepositoryMetaData metadata)
Constructs a repository.
-
-
-
Method Detail
-
create
Repository create(RepositoryMetaData metadata) throws java.lang.Exception
Constructs a repository.- Parameters:
metadata
- metadata for the repository including name and settings- Throws:
java.lang.Exception
-
-