public class RepositoryImplConfigBase extends Object implements RepositoryImplConfig
Constructor and Description |
---|
RepositoryImplConfigBase()
Create a new RepositoryConfigImpl.
|
RepositoryImplConfigBase(String type)
Create a new RepositoryConfigImpl.
|
Modifier and Type | Method and Description |
---|---|
static RepositoryImplConfig |
create(Graph graph,
Resource implNode) |
Resource |
export(Graph graph) |
String |
getType() |
void |
parse(Graph graph,
Resource implNode) |
void |
setType(String type) |
void |
validate()
Validates this configuration.
|
public RepositoryImplConfigBase()
public RepositoryImplConfigBase(String type)
public String getType()
getType
in interface RepositoryImplConfig
public void setType(String type)
public void validate() throws RepositoryConfigException
RepositoryImplConfig
RepositoryConfigException
is
thrown when the configuration is invalid. The exception should contain an
error message that indicates why the configuration is invalid.validate
in interface RepositoryImplConfig
RepositoryConfigException
- If the configuration is invalid.public Resource export(Graph graph)
export
in interface RepositoryImplConfig
public void parse(Graph graph, Resource implNode) throws RepositoryConfigException
parse
in interface RepositoryImplConfig
RepositoryConfigException
public static RepositoryImplConfig create(Graph graph, Resource implNode) throws RepositoryConfigException
RepositoryConfigException
Copyright © 2001-2016 Aduna. All Rights Reserved.