Class SailRepositoryConfig
- java.lang.Object
-
- org.eclipse.rdf4j.repository.config.AbstractRepositoryImplConfig
-
- org.eclipse.rdf4j.repository.sail.config.SailRepositoryConfig
-
- All Implemented Interfaces:
RepositoryImplConfig
public class SailRepositoryConfig extends AbstractRepositoryImplConfig
- Author:
- Arjohn Kampman
-
-
Constructor Summary
Constructors Constructor Description SailRepositoryConfig()
SailRepositoryConfig(SailImplConfig sailImplConfig)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Resource
export(Model model)
Export thisRepositoryImplConfig
to its RDF representationSailImplConfig
getSailImplConfig()
void
parse(Model model, Resource repImplNode)
Reads the properties of thisRepositoryImplConfig
from the supplied Model and sets them accordingly.void
setSailImplConfig(SailImplConfig sailImplConfig)
void
validate()
Validates this configuration.-
Methods inherited from class org.eclipse.rdf4j.repository.config.AbstractRepositoryImplConfig
create, getType, setType
-
-
-
-
Constructor Detail
-
SailRepositoryConfig
public SailRepositoryConfig()
-
SailRepositoryConfig
public SailRepositoryConfig(SailImplConfig sailImplConfig)
-
-
Method Detail
-
getSailImplConfig
public SailImplConfig getSailImplConfig()
-
setSailImplConfig
public void setSailImplConfig(SailImplConfig sailImplConfig)
-
validate
public void validate() throws RepositoryConfigException
Description copied from interface:RepositoryImplConfig
Validates this configuration. ARepositoryConfigException
is thrown when the configuration is invalid. The exception should contain an error message that indicates why the configuration is invalid.- Specified by:
validate
in interfaceRepositoryImplConfig
- Overrides:
validate
in classAbstractRepositoryImplConfig
- Throws:
RepositoryConfigException
- If the configuration is invalid.
-
export
public Resource export(Model model)
Description copied from interface:RepositoryImplConfig
Export thisRepositoryImplConfig
to its RDF representation- Specified by:
export
in interfaceRepositoryImplConfig
- Overrides:
export
in classAbstractRepositoryImplConfig
- Parameters:
model
- aModel
object. After successful completion of this method this Model will contain the RDF representation of thisRepositoryImplConfig
.- Returns:
- the subject
Resource
that identifies thisRepositoryImplConfig
in the Model.
-
parse
public void parse(Model model, Resource repImplNode) throws RepositoryConfigException
Description copied from interface:RepositoryImplConfig
Reads the properties of thisRepositoryImplConfig
from the supplied Model and sets them accordingly.- Specified by:
parse
in interfaceRepositoryImplConfig
- Overrides:
parse
in classAbstractRepositoryImplConfig
- Parameters:
model
- aModel
containing repository configuration data.repImplNode
- the subjectResource
that identifies theRepositoryImplConfig
in the Model.- Throws:
RepositoryConfigException
- if the configuration data could not be read from the supplied Model.
-
-