Package io.lionweb.repoclient.api
Interface DBAdminAPIClient
- All Known Implementing Classes:
ClientForDBAdminAPIs
,ExtendedLionWebRepoClient
,LionWebRepoClient
public interface DBAdminAPIClient
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Trigger the creation of the database, according to the configuration provided on the server side.void
createRepository
(@NotNull RepositoryConfiguration repositoryConfiguration) void
deleteRepository
(@NotNull String repositoryName) @NotNull Set<RepositoryConfiguration>
-
Method Details
-
createRepository
void createRepository(@NotNull @NotNull RepositoryConfiguration repositoryConfiguration) throws IOException - Throws:
IOException
-
deleteRepository
- Throws:
IOException
-
createDatabase
Trigger the creation of the database, according to the configuration provided on the server side. In other words, we cannot dictate the name of the configuration of the database, just triggers its creation.- Throws:
IOException
-
listRepositories
- Throws:
IOException
-