public static final class ESPTradeProperties.Builder
extends java.lang.Object
ESPTradeProperties
object. The builder should be instantiated by calling
ESPTradeProperties.builder()
.Modifier and Type | Method and Description |
---|---|
ESPTradeProperties |
build()
Returns the
ESPTradeProperties object with the properties added by the builder. |
ESPTradeProperties.Builder |
withClientTimePriceClicked(java.lang.String clientTimePriceClicked)
Add the time that the client clicked on the price.
|
ESPTradeProperties.Builder |
withClientTimePriceOnScreen(java.lang.String clientTimePriceOnScreen)
Add the time that the price was displayed on the client's screen.
|
ESPTradeProperties.Builder |
withServerTimeConnectionReceived(java.lang.String serverTimeConnectionReceived)
Add the time on the server that the connection was received.
|
ESPTradeProperties.Builder |
withServerTimePriceReceived(java.lang.String serverTimePriceReceived)
Add the time on the server that the price was received.
|
ESPTradeProperties.Builder |
withServerTimeSettingUpTrade(java.lang.String serverTimeSettingUpTrade)
Add the duration the server took to set up the trade.
|
ESPTradeProperties.Builder |
withServerTimeTradeReceived(java.lang.String serverTimeTradeReceived)
Add the time on the server that the trade was received.
|
ESPTradeProperties.Builder |
withServerTimeTradeSubmitted(java.lang.String serverTimeTradeSubmitted)
Add the time on the server that the trade was submitted.
|
ESPTradeProperties.Builder |
withServerTimeWaitingForConnection(java.lang.String serverTimeWaitingForConnection)
Add the duration the server has spent waiting for a connection.
|
ESPTradeProperties.Builder |
withUnit(java.lang.String unit)
Add the unit.
|
public ESPTradeProperties.Builder withUnit(java.lang.String unit)
unit
- public ESPTradeProperties.Builder withClientTimePriceClicked(java.lang.String clientTimePriceClicked)
clientTimePriceClicked
- public ESPTradeProperties.Builder withClientTimePriceOnScreen(java.lang.String clientTimePriceOnScreen)
clientTimePriceOnScreen
- public ESPTradeProperties.Builder withServerTimePriceReceived(java.lang.String serverTimePriceReceived)
serverTimePriceReceived
- public ESPTradeProperties.Builder withServerTimeTradeReceived(java.lang.String serverTimeTradeReceived)
serverTimeTradeReceived
- public ESPTradeProperties.Builder withServerTimeConnectionReceived(java.lang.String serverTimeConnectionReceived)
serverTimeConnectionReceived
- public ESPTradeProperties.Builder withServerTimeWaitingForConnection(java.lang.String serverTimeWaitingForConnection)
serverTimeWaitingForConnection
- public ESPTradeProperties.Builder withServerTimeSettingUpTrade(java.lang.String serverTimeSettingUpTrade)
serverTimeSettingUpTrade
- public ESPTradeProperties.Builder withServerTimeTradeSubmitted(java.lang.String serverTimeTradeSubmitted)
serverTimeTradeSubmitted
- public ESPTradeProperties build()
ESPTradeProperties
object with the properties added by the builder.Copyright © 2016 Caplin Systems.