public interface CDORepositoryConfigurationManager extends ILifecycle
Modifier and Type | Interface and Description |
---|---|
static class |
CDORepositoryConfigurationManager.Factory
Specification of the factory API for
repository configuration managers . |
ILifecycle.DeferrableActivation
Modifier and Type | Method and Description |
---|---|
IRepository |
addRepository(String name,
Document configuration) |
void |
authenticateAdministrator()
Authenticates the user as a server administrator, if applicable.
|
boolean |
canRemoveRepository(IRepository repository) |
Map<String,IRepository> |
getRepositories() |
void |
removeRepository(IRepository repository) |
activate, deactivate, getLifecycleState, isActive
addListener, getListeners, hasListeners, removeListener
Map<String,IRepository> getRepositories()
IRepository addRepository(String name, Document configuration)
void removeRepository(IRepository repository)
boolean canRemoveRepository(IRepository repository)
void authenticateAdministrator() throws SecurityException
SecurityException
- if authentication is required and failsCopyright (c) 2014 Eike Stepper (Berlin, Germany) and others.
All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html