public class HTTPRepositoryConfig extends RepositoryImplConfigBase
Constructor and Description |
---|
HTTPRepositoryConfig() |
HTTPRepositoryConfig(String url) |
Modifier and Type | Method and Description |
---|---|
Resource |
export(Graph graph) |
String |
getPassword() |
String |
getURL() |
String |
getUsername() |
void |
parse(Graph graph,
Resource implNode) |
void |
setPassword(String password) |
void |
setURL(String url) |
void |
setUsername(String username) |
void |
validate()
Validates this configuration.
|
create, getType, setType
public HTTPRepositoryConfig()
public HTTPRepositoryConfig(String url)
public String getURL()
public void setURL(String url)
public String getUsername()
public void setUsername(String username)
public String getPassword()
public void setPassword(String password)
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
validate
in class RepositoryImplConfigBase
RepositoryConfigException
- If the configuration is invalid.public Resource export(Graph graph)
export
in interface RepositoryImplConfig
export
in class RepositoryImplConfigBase
public void parse(Graph graph, Resource implNode) throws RepositoryConfigException
parse
in interface RepositoryImplConfig
parse
in class RepositoryImplConfigBase
RepositoryConfigException
Copyright © 2001-2016 Aduna. All Rights Reserved.