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

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

The newest version!
package io.hypertrack.factory;

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

import java.util.Map;

/**
 * Factory class for Group model.
 */
public class GroupFactory extends HyperTrackFactory {
    private static String modelUrl = "groups/";

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

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

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy