-
- All Implemented Interfaces:
public final class AvoidRouteResponse
AvoidRequestRoute Response
-
-
Field Summary
Fields Modifier and Type Field Description private Integer
avoidStatus
private FailReason
failReason
private RerouteInfo
rerouteInfo
-
Constructor Summary
Constructors Constructor Description AvoidRouteResponse(Integer avoidStatus, FailReason failReason, RerouteInfo rerouteInfo)
-
Method Summary
Modifier and Type Method Description final Integer
getAvoidStatus()
avoid status see AvoidRouteStatus final Unit
setAvoidStatus(Integer avoidStatus)
avoid status see AvoidRouteStatus final FailReason
getFailReason()
the reason why a user-specified road cannot be avoided FailReason final Unit
setFailReason(FailReason failReason)
the reason why a user-specified road cannot be avoided FailReason final RerouteInfo
getRerouteInfo()
the engine calculates a new route after performing the avoid task if the avoid result fails, the value is null final Unit
setRerouteInfo(RerouteInfo rerouteInfo)
the engine calculates a new route after performing the avoid task if the avoid result fails, the value is null -
-
Constructor Detail
-
AvoidRouteResponse
AvoidRouteResponse(Integer avoidStatus, FailReason failReason, RerouteInfo rerouteInfo)
-
-
Method Detail
-
getAvoidStatus
final Integer getAvoidStatus()
avoid status see AvoidRouteStatus
-
setAvoidStatus
final Unit setAvoidStatus(Integer avoidStatus)
avoid status see AvoidRouteStatus
-
getFailReason
final FailReason getFailReason()
the reason why a user-specified road cannot be avoided FailReason
-
setFailReason
final Unit setFailReason(FailReason failReason)
the reason why a user-specified road cannot be avoided FailReason
-
getRerouteInfo
final RerouteInfo getRerouteInfo()
the engine calculates a new route after performing the avoid task if the avoid result fails, the value is null
-
setRerouteInfo
final Unit setRerouteInfo(RerouteInfo rerouteInfo)
the engine calculates a new route after performing the avoid task if the avoid result fails, the value is null
-
-
-
-