All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.hypertrack.factory.FleetFactory Maven / Gradle / Ivy

There is a newer version: 1.0.1
Show newest version
package io.hypertrack.factory;

import io.hypertrack.model.Fleet;
import io.hypertrack.net.HyperTrackClient;

import java.util.Map;

/**
 * Created by Arjun on 23/04/16.
 */
public class FleetFactory extends HyperTrackFactory {
    private static String modelUrl = "fleets/";

    public FleetFactory(HyperTrackClient client) {
        super(client);
    }

    @Override
    protected Fleet makeNew(Map params) {
        return new Fleet(params);
    }

    @Override
    protected String getModelUrl() {
        return modelUrl;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy