public static final class ExternalOfficeManager.Builder extends org.jodconverter.core.office.AbstractOfficeManager.AbstractOfficeManagerBuilder<ExternalOfficeManager.Builder>
ExternalOfficeManager.ExternalOfficeManager| Modifier and Type | Method and Description |
|---|---|
@NonNull ExternalOfficeManager |
build() |
@NonNull ExternalOfficeManager.Builder |
connectionProtocol(@Nullable OfficeConnectionProtocol connectionProtocol)
Specifies the connection protocol.
|
@NonNull ExternalOfficeManager.Builder |
connectOnStart(@Nullable Boolean connectOnStart)
Specifies whether a connection must be attempted on
OfficeManager.start()? If false, a
connection will only be attempted the first time an OfficeTask is executed. |
@NonNull ExternalOfficeManager.Builder |
connectTimeout(@Nullable Long connectTimeout)
Specifies the timeout, in milliseconds, after which a connection attempt will fail.
|
@NonNull ExternalOfficeManager.Builder |
pipeName(@Nullable String pipeName)
Specifies the pipe name that will be use to communicate with office.
|
@NonNull ExternalOfficeManager.Builder |
portNumber(@Nullable Integer portNumber)
Specifies the port number that will be use to communicate with office.
|
@NonNull ExternalOfficeManager.Builder |
retryInterval(@Nullable Long retryInterval)
Specifies the delay, in milliseconds, between each try when trying to connect to office.
|
public @NonNull ExternalOfficeManager build()
build in class org.jodconverter.core.office.AbstractOfficeManager.AbstractOfficeManagerBuilder<ExternalOfficeManager.Builder>public @NonNull ExternalOfficeManager.Builder connectionProtocol(@Nullable OfficeConnectionProtocol connectionProtocol)
connectionProtocol - The new protocol to use.public @NonNull ExternalOfficeManager.Builder pipeName(@Nullable String pipeName)
pipeName - The pipe name to use.public @NonNull ExternalOfficeManager.Builder portNumber(@Nullable Integer portNumber)
portNumber - The port number to use.public @NonNull ExternalOfficeManager.Builder connectOnStart(@Nullable Boolean connectOnStart)
OfficeManager.start()? If false, a
connection will only be attempted the first time an OfficeTask is executed.
Default: true
connectOnStart - true to connect on start, false otherwise.public @NonNull ExternalOfficeManager.Builder connectTimeout(@Nullable Long connectTimeout)
Default: 120000 (2 minutes)
connectTimeout - the process timeout, in milliseconds.public @NonNull ExternalOfficeManager.Builder retryInterval(@Nullable Long retryInterval)
Default: 250 (0.25 seconds)
retryInterval - the retry interval, in milliseconds.Copyright © 2016 - present; JODConverter.org. All rights reserved.