Class RepositoryConfig
java.lang.Object
org.eclipse.rdf4j.repository.config.RepositoryConfig
-
Constructor Summary
ConstructorDescriptionCreate a new RepositoryConfig.Create a new RepositoryConfigImpl.RepositoryConfig
(String id, String title) Create a new RepositoryConfigImpl.RepositoryConfig
(String id, String title, RepositoryImplConfig implConfig) Create a new RepositoryConfigImpl.RepositoryConfig
(String id, RepositoryImplConfig implConfig) Create a new RepositoryConfigImpl. -
Method Summary
Modifier and TypeMethodDescriptionstatic RepositoryConfig
Creates a newRepositoryConfig
object and initializes it by supplying themodel
andrepositoryNode
to itsparse
method.void
Deprecated.void
Exports the configuration into RDF using the given repositoryNodegetID()
getTitle()
void
void
void
setRepositoryImplConfig
(RepositoryImplConfig implConfig) void
void
validate()
Validates this configuration.
-
Constructor Details
-
RepositoryConfig
public RepositoryConfig()Create a new RepositoryConfig. -
RepositoryConfig
Create a new RepositoryConfigImpl. -
RepositoryConfig
Create a new RepositoryConfigImpl. -
RepositoryConfig
-
RepositoryConfig
Create a new RepositoryConfigImpl.
-
-
Method Details
-
getID
-
setID
-
getTitle
-
setTitle
-
getRepositoryImplConfig
-
setRepositoryImplConfig
-
validate
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.- Throws:
RepositoryConfigException
- If the configuration is invalid.
-
export
Deprecated. -
export
-
parse
- Throws:
RepositoryConfigException
-
create
public static RepositoryConfig create(Model model, Resource repositoryNode) throws RepositoryConfigException Creates a newRepositoryConfig
object and initializes it by supplying themodel
andrepositoryNode
to itsparse
method.- Parameters:
model
- theModel
to read initialization data from.repositoryNode
- the subjectResource
that identifies theRepositoryConfig
in the supplied Model.- Throws:
RepositoryConfigException
-
export(Model, Resource)