public final class PersistentResetRequest extends Object implements Serializable
| Constructor and Description |
|---|
PersistentResetRequest(boolean resetAll)
Creates the PersistentResetRequest object.
|
PersistentResetRequest(boolean resetAll,
String dbResource)
Creates the PersistentResetRequest object.
|
PersistentResetRequest(List<Reset> resetList)
Creates the PersistentResetRequest object.
|
PersistentResetRequest(List<Reset> resetList,
String dbResource)
Creates the PersistentResetRequest object.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getDBResource()
Returns the Database resource name to be used for this request.
|
List<Reset> |
getResetList()
|
boolean |
isResetAll()
Check if this is a reset all request.
|
public PersistentResetRequest(List<Reset> resetList, String dbResource) throws RoutingException
resetList - List of Reset containing the list of
PointReset, SegmentReset and RoadTypeReset.dbResource - Sets the Database resource to be used for this request.RoutingException - If something goes wrong while processing the request.public PersistentResetRequest(List<Reset> resetList) throws RoutingException
resetList - List of Reset containing the list of
PointReset, SegmentReset and RoadTypeReset.RoutingException - If something goes wrong while processing the request.public PersistentResetRequest(boolean resetAll,
String dbResource)
throws RoutingException
resetAll - must be set to true to reset all updates applied.dbResource - Sets the Database resource to be used for this request.RoutingException - If something goes wrong while processing the request.public PersistentResetRequest(boolean resetAll)
resetAll - must be set to true to reset all updates applied.public boolean isResetAll()
true or falsepublic String getDBResource()