Package globus.glroute
Class CostingOptions
java.lang.Object
globus.glroute.CostingOptions
- Direct Known Subclasses:
CostingOptions.Auto
,CostingOptions.Bicycle
,CostingOptions.Motorcycle
,CostingOptions.MotorScooter
,CostingOptions.Pedestrian
,CostingOptions.Penalties
,CostingOptions.Road
,CostingOptions.Straight
,CostingOptions.Truck
,CostingOptions.Vehicle
Costing options
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Options for auto, bus, taxi modestatic class
Options for bicycle modestatic class
Options for motorcycle modestatic class
Options for motor scooter modestatic class
Options for pedestrian modestatic class
General penaltiesstatic class
General options when driving on roadstatic class
Options for straight modestatic class
Options for truck modestatic class
Options for vehicle -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetJson()
Serialize object to json stringvoid
initFromJson
(String json) Init object from json string
-
Constructor Details
-
CostingOptions
public CostingOptions()
-
-
Method Details
-
initFromJson
Init object from json string- Parameters:
json
- json string
-
getJson
Serialize object to json string- Returns:
- json string
-