io.hypertrack.factory.DriverFactory Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of hypertrack-java Show documentation
Show all versions of hypertrack-java Show documentation
A Java wrapper for the HyperTrack API https://hypertrack.io
package io.hypertrack.factory;
import io.hypertrack.model.Driver;
import io.hypertrack.model.HyperTrackModel;
import io.hypertrack.net.HyperTrackClient;
import java.util.ArrayList;
import java.util.Map;
/**
* Created by Arjun on 21/04/16.
*/
public class DriverFactory extends HyperTrackFactory {
private static String modelUrl = "drivers/";
public DriverFactory(HyperTrackClient client) {
super(client);
}
@Override
protected Driver makeNew(Map params) {
return new Driver(params);
}
@Override
protected String getModelUrl() {
return modelUrl;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy