public class SurfaceConfigurationResult extends Object
RouteProcedure
.Constructor and Description |
---|
SurfaceConfigurationResult(SurfaceConnectionStatus connectionStatus)
Create a new instance based on the given status.
|
SurfaceConfigurationResult(SurfaceConnectionStatus connectionStatus,
Object data)
Create a new instance based on the given status and data.
|
Modifier and Type | Method and Description |
---|---|
SurfaceConnectionStatus |
getConnectionStatus()
Gets the status of the given configuration.
|
Object |
getData()
Gets the diagnostic data associated with the given configuration.
|
public SurfaceConfigurationResult(@Nonnull SurfaceConnectionStatus connectionStatus)
connectionStatus
- The status of the configuration.public SurfaceConfigurationResult(@Nonnull SurfaceConnectionStatus connectionStatus, Object data)
connectionStatus
- The status of the configuration.data
- An object containing additional diagnostic information.
See the documentation for the particular type of RouteSegment
corresponding to this instance for more information on what the data contains.@Nonnull public final SurfaceConnectionStatus getConnectionStatus()
public final Object getData()