public interface RepositoryImplConfig
Modifier and Type | Method and Description |
---|---|
Resource |
export(Model model)
Export this
RepositoryImplConfig to its RDF representation |
String |
getType() |
void |
parse(Model model,
Resource resource)
Reads the properties of this
RepositoryImplConfig from the supplied Model and sets them accordingly. |
void |
validate()
Validates this configuration.
|
String getType()
void validate() throws RepositoryConfigException
RepositoryConfigException
is thrown when the configuration is invalid.
The exception should contain an error message that indicates why the configuration is invalid.RepositoryConfigException
- If the configuration is invalid.Resource export(Model model)
RepositoryImplConfig
to its RDF representationmodel
- a Model
object. After successful completion of this method this Model will contain the RDF
representation of this RepositoryImplConfig
.Resource
that identifies this RepositoryImplConfig
in the Model.void parse(Model model, Resource resource) throws RepositoryConfigException
RepositoryImplConfig
from the supplied Model and sets them accordingly.model
- a Model
containing repository configuration data.resource
- the subject Resource
that identifies the RepositoryImplConfig
in the Model.RepositoryConfigException
- if the configuration data could not be read from the supplied Model.Copyright © 2015-2022 Eclipse Foundation. All Rights Reserved.