io.hypertrack.factory.HubFactory 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.Hub;
import io.hypertrack.net.HyperTrackClient;
import java.util.Map;
/**
* Created by Arjun on 23/04/16.
*/
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