public interface Configurations
| Modifier and Type | Method and Description |
|---|---|
Configuration |
load(String configurationId)
Reads all of the backend specifications from the specified
configurations conforming to the given backend spec.
|
BackendInstanceSpec<AlgorithmSourceBackend> |
newAlgorithmSourceBackendSection(String backendSpecId) |
BackendInstanceSpec<DataSourceBackend> |
newDataSourceBackendSection(String backendSpecId) |
BackendInstanceSpec<KnowledgeSourceBackend> |
newKnowledgeSourceBackendSection(String backendSpecId) |
BackendInstanceSpec<TermSourceBackend> |
newTermSourceBackendSection(String backendSpecId) |
void |
remove(String configurationId)
Deletes the configurations with the specified id.
|
void |
save(Configuration configuration)
Writes the provided backend specifications to the configurations with
the specified id.
|
Configuration load(String configurationId) throws ConfigurationsNotFoundException, ConfigurationsLoadException
B - configurationId - backendSpec - ConfigurationsNotFoundExceptionConfigurationsLoadExceptionBackendInstanceSpec<AlgorithmSourceBackend> newAlgorithmSourceBackendSection(String backendSpecId) throws BackendSpecNotFoundException, BackendProviderSpecLoaderException
BackendInstanceSpec<DataSourceBackend> newDataSourceBackendSection(String backendSpecId) throws BackendSpecNotFoundException, BackendProviderSpecLoaderException
BackendInstanceSpec<KnowledgeSourceBackend> newKnowledgeSourceBackendSection(String backendSpecId) throws BackendSpecNotFoundException, BackendProviderSpecLoaderException
BackendInstanceSpec<TermSourceBackend> newTermSourceBackendSection(String backendSpecId) throws BackendSpecNotFoundException, BackendProviderSpecLoaderException
void save(Configuration configuration) throws ConfigurationsSaveException
configurationsId field set to the provided value.configurationId - backendInstanceSpec - ConfigurationsSaveExceptionvoid remove(String configurationId) throws ConfigurationRemoveException
configurationId - ConfigurationRemoveExceptionCopyright © 2012–2017 Emory University. All rights reserved.