public class SpeedConfigurationResult extends Object
RouteProcedure
.Constructor and Description |
---|
SpeedConfigurationResult(SpeedConfigurationStatus status)
Create a new instance based on the given status.
|
SpeedConfigurationResult(SpeedConfigurationStatus status,
Object data)
Create a new instance based on the given status and data.
|
Modifier and Type | Method and Description |
---|---|
SpeedConfigurationStatus |
getConnectionStatus()
Gets the status of the given configuration.
|
Object |
getData()
Gets the diagnostic data associated with the given configuration.
|
public SpeedConfigurationResult(@Nonnull SpeedConfigurationStatus status)
status
- The status of the configuration.public SpeedConfigurationResult(@Nonnull SpeedConfigurationStatus status, Object data)
status
- 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 SpeedConfigurationStatus getConnectionStatus()
public final Object getData()