Page Summary
-
PublishOptions.Builderis a builder for creating instances ofPublishOptions. -
It has a constructor to create a new builder.
-
It provides methods to build the
PublishOptionsinstance, set a callback for publish events, and set the publishing strategy.
Builder for instances of PublishOptions.
Public Constructor Summary
|
Builder()
|
Public Method Summary
| PublishOptions |
build()
Builds an instance of
PublishOptions.
|
| PublishOptions.Builder |
setCallback(PublishCallback
callback)
Sets a callback which will be notified when significant events occur that
affect this publish.
|
| PublishOptions.Builder |
Inherited Method Summary
Public Constructors
public Builder ()
Public Methods
public PublishOptions build ()
Builds an instance of PublishOptions.
public PublishOptions.Builder setCallback (PublishCallback callback)
Sets a callback which will be notified when significant events occur that affect this publish.
public PublishOptions.Builder setStrategy (Strategy strategy)
Sets the strategy for publishing. The default if not explicitly set is
Strategy.DEFAULT.