Interface RepositoryImplConfig
-
- All Known Subinterfaces:
DelegatingRepositoryImplConfig
- All Known Implementing Classes:
AbstractDelegatingRepositoryImplConfig,AbstractRepositoryImplConfig
public interface RepositoryImplConfig- Author:
- Arjohn Kampman
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description org.eclipse.rdf4j.model.Resourceexport(org.eclipse.rdf4j.model.Model model)Export thisRepositoryImplConfigto its RDF representationStringgetType()voidparse(org.eclipse.rdf4j.model.Model model, org.eclipse.rdf4j.model.Resource resource)Reads the properties of thisRepositoryImplConfigfrom the supplied Model and sets them accordingly.voidvalidate()Validates this configuration.
-
-
-
Method Detail
-
getType
String getType()
-
validate
void validate() throws RepositoryConfigExceptionValidates 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
org.eclipse.rdf4j.model.Resource export(org.eclipse.rdf4j.model.Model model)
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
void parse(org.eclipse.rdf4j.model.Model model, org.eclipse.rdf4j.model.Resource resource) throws RepositoryConfigExceptionReads 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.
-
-