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

me.shib.java.lib.jiraclient.greenhopper.GreenHopperResource Maven / Gradle / Ivy

package me.shib.java.lib.jiraclient.greenhopper;

import me.shib.java.lib.jiraclient.RestClient;

/**
 * A base class for GreenHopper resources.
 */
public abstract class GreenHopperResource {

    protected static final String RESOURCE_URI = "/rest/greenhopper/1.0/";

    protected RestClient restclient = null;
    protected int id = 0;

    /**
     * Creates a new GreenHopper resource.
     *
     * @param restclient REST client instance
     */
    public GreenHopperResource(RestClient restclient) {
        this.restclient = restclient;
    }

    /**
     * Internal JIRA ID.
     */
    public int getId() {
        return id;
    }
}





© 2015 - 2025 Weber Informatics LLC | Privacy Policy