public class ConnectionStateChangeBuilder
extends java.lang.Object
| Constructor and Description |
|---|
ConnectionStateChangeBuilder()
If there is no connection, use this constructor.
|
| Modifier and Type | Method and Description |
|---|---|
ConnectionStateChange |
build() |
boolean |
canBuild() |
ConnectionStateChangeBuilder |
newState(ConnectionState newState)
Provide the new connection state.
|
ConnectionStateChangeBuilder |
oldState(ConnectionState oldState)
Set the old connection state.
|
java.lang.String |
toString() |
public ConnectionStateChangeBuilder()
public ConnectionStateChangeBuilder oldState(ConnectionState oldState)
public ConnectionStateChangeBuilder newState(ConnectionState newState)
public boolean canBuild()
public ConnectionStateChange build()
public java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2019. All Rights Reserved.