Class FedXRepositoryConfigBuilder
- java.lang.Object
-
- org.eclipse.rdf4j.federated.repository.FedXRepositoryConfigBuilder
-
public class FedXRepositoryConfigBuilder extends Object
Builder forFedXRepositoryConfig
- Author:
- Andreas Schwarte
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description FedXRepositoryConfig
build()
Build theFedXRepositoryConfig
that can be used in theRepositoryConfig
.RepositoryConfig
build(String repositoryId, String repositoryTitle)
Build theRepositoryConfig
static FedXRepositoryConfigBuilder
create()
FedXRepositoryConfigBuilder
withMembers(Collection<Statement> members)
FedXRepositoryConfigBuilder
withResolvableEndpoint(String memberId)
FedXRepositoryConfigBuilder
withResolvableEndpoint(Collection<String> memberIds)
-
-
-
Method Detail
-
create
public static FedXRepositoryConfigBuilder create()
-
withResolvableEndpoint
public FedXRepositoryConfigBuilder withResolvableEndpoint(String memberId)
-
withResolvableEndpoint
public FedXRepositoryConfigBuilder withResolvableEndpoint(Collection<String> memberIds)
-
withMembers
public FedXRepositoryConfigBuilder withMembers(Collection<Statement> members)
-
build
public FedXRepositoryConfig build()
Build theFedXRepositoryConfig
that can be used in theRepositoryConfig
.- Returns:
- the
FedXRepositoryConfig
-
build
public RepositoryConfig build(String repositoryId, String repositoryTitle)
Build theRepositoryConfig
- Parameters:
repositoryId
- the repository identifierrepositoryTitle
- the repository title- Returns:
- the
RepositoryConfig
(incorporatingFedXRepositoryConfig
)
-
-