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

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

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

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

import java.util.Map;

/**
 * Factory class for Hub model.
 */
public class HubFactory extends HyperTrackFactory {
    private static String modelUrl = "hubs/";

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

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

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy