Interface RepositoryImplConfig
- All Known Subinterfaces:
DelegatingRepositoryImplConfig
- All Known Implementing Classes:
AbstractDelegatingRepositoryImplConfig,AbstractRepositoryImplConfig,ContextAwareConfig,DatasetRepositoryConfig,FedXRepositoryConfig,HTTPRepositoryConfig,ProxyRepositoryConfig,SailRepositoryConfig,SPARQLRepositoryConfig
public interface RepositoryImplConfig
A
RepositoryImplConfig represents configuration details specific to a particular implementation of the
Repository interface.- Author:
- Arjohn Kampman
-
Method Summary
Modifier and TypeMethodDescriptionExport thisRepositoryImplConfigto its RDF representationgetType()voidReads the properties of thisRepositoryImplConfigfrom the supplied Model and sets them accordingly.voidvalidate()Validates this configuration.
-
Method Details
-
getType
String getType() -
validate
Validates this configuration. ARepositoryConfigExceptionis thrown when the configuration is invalid. The exception should contain an error message that indicates why the configuration is invalid.- Throws:
RepositoryConfigException- If the configuration is invalid.
-
export
Export thisRepositoryImplConfigto its RDF representation- Parameters:
model- aModelobject. After successful completion of this method this Model will contain the RDF representation of thisRepositoryImplConfig.- Returns:
- the subject
Resourcethat identifies thisRepositoryImplConfigin the Model.
-
parse
Reads the properties of thisRepositoryImplConfigfrom the supplied Model and sets them accordingly.- Parameters:
model- aModelcontaining repository configuration data.resource- the subjectResourcethat identifies theRepositoryImplConfigin the Model.- Throws:
RepositoryConfigException- if the configuration data could not be read from the supplied Model.
-