Package com.saperion.connector.options
Interface OptionsBuilder
-
- All Known Implementing Classes:
Options.BuilderChain
public interface OptionsBuilder
Builder interface forOptions
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description OptionsBuilder
additionalOptions(AdditionalOptions additionalOptions)
Adds additional options.Options
build()
Builds theOptions
.OptionsBuilder
definePaging(Paging paging)
Defines the paging.OptionsBuilder
timeOut(long timeOut, java.util.concurrent.TimeUnit timeUnit)
Defining timeout option.
-
-
-
Method Detail
-
timeOut
OptionsBuilder timeOut(long timeOut, java.util.concurrent.TimeUnit timeUnit)
Defining timeout option.- Parameters:
timeOut
- timeout as longtimeUnit
- specifying the time units- Returns:
- OptionBuilder for timeout
-
definePaging
OptionsBuilder definePaging(Paging paging)
Defines the paging.- Parameters:
paging
- the paging- Returns:
- the options builder
-
additionalOptions
OptionsBuilder additionalOptions(AdditionalOptions additionalOptions)
Adds additional options.- Parameters:
additionalOptions
- the additional options- Returns:
- the builder
-
-