Class AbstractDelegatingRepositoryImplConfig
java.lang.Object
org.eclipse.rdf4j.repository.config.AbstractRepositoryImplConfig
org.eclipse.rdf4j.repository.config.AbstractDelegatingRepositoryImplConfig
- All Implemented Interfaces:
DelegatingRepositoryImplConfig,RepositoryImplConfig
- Direct Known Subclasses:
ContextAwareConfig,DatasetRepositoryConfig
public abstract class AbstractDelegatingRepositoryImplConfig
extends AbstractRepositoryImplConfig
implements DelegatingRepositoryImplConfig
- Author:
- Herko ter Horst
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCreate a new DelegatingRepositoryImplConfigBase.protectedCreate a new DelegatingRepositoryImplConfigBase.protectedAbstractDelegatingRepositoryImplConfig(String type, RepositoryImplConfig delegate) Create a new DelegatingRepositoryImplConfigBase. -
Method Summary
Modifier and TypeMethodDescriptionExport thisRepositoryImplConfigto its RDF representationvoidReads the properties of thisRepositoryImplConfigfrom the supplied Model and sets them accordingly.voidsetDelegate(RepositoryImplConfig delegate) voidvalidate()Validates this configuration.Methods inherited from class org.eclipse.rdf4j.repository.config.AbstractRepositoryImplConfig
create, getType, setTypeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.eclipse.rdf4j.repository.config.RepositoryImplConfig
getType
-
Constructor Details
-
AbstractDelegatingRepositoryImplConfig
protected AbstractDelegatingRepositoryImplConfig()Create a new DelegatingRepositoryImplConfigBase. -
AbstractDelegatingRepositoryImplConfig
Create a new DelegatingRepositoryImplConfigBase. -
AbstractDelegatingRepositoryImplConfig
Create a new DelegatingRepositoryImplConfigBase.
-
-
Method Details
-
getDelegate
- Specified by:
getDelegatein interfaceDelegatingRepositoryImplConfig
-
setDelegate
-
validate
Description copied from interface:RepositoryImplConfigValidates this configuration. ARepositoryConfigExceptionis thrown when the configuration is invalid. The exception should contain an error message that indicates why the configuration is invalid.- Specified by:
validatein interfaceRepositoryImplConfig- Overrides:
validatein classAbstractRepositoryImplConfig- Throws:
RepositoryConfigException- If the configuration is invalid.
-
export
Description copied from interface:RepositoryImplConfigExport thisRepositoryImplConfigto its RDF representation- Specified by:
exportin interfaceRepositoryImplConfig- Overrides:
exportin classAbstractRepositoryImplConfig- 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
Description copied from interface:RepositoryImplConfigReads the properties of thisRepositoryImplConfigfrom the supplied Model and sets them accordingly.- Specified by:
parsein interfaceRepositoryImplConfig- Overrides:
parsein classAbstractRepositoryImplConfig- 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.
-