Interface ServerBuilder
-
public interface ServerBuilderInterface for configuring and creating a Stardog server.
- Since:
- 2.0
- Version:
- 2.0
- Author:
- Michael Grove
- See Also:
ServerOptions
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Serverbind(java.net.SocketAddress theAddress)Create the server which will bind to the specified address.<V> ServerBuilderset(Option<V> theOption, V theValue)Set the specified server configuration optionServerBuildersetAll(Options theOptions)Set all the configuration options on the builder.
-
-
-
Method Detail
-
setAll
ServerBuilder setAll(Options theOptions)
Set all the configuration options on the builder.- Parameters:
theOptions- the options to set- Returns:
- this builder
-
set
<V> ServerBuilder set(Option<V> theOption, V theValue)
Set the specified server configuration option- Parameters:
theOption- the optiontheValue- the option value- Returns:
- this builder
-
bind
Server bind(java.net.SocketAddress theAddress)
Create the server which will bind to the specified address.- Parameters:
theAddress- the address the server should bind to- Returns:
- the server
-
-