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

com.heroku.api.StackInfo Maven / Gradle / Ivy

There is a newer version: 0.46
Show newest version
package com.heroku.api;

/**
 * @author Naaman Newbold
 */
public class StackInfo {
    String requested;
    boolean beta;
    boolean current;
    String name;

    public String getRequested() {
        return requested;
    }

    private void setRequested(String requested) {
        this.requested = requested;
    }

    public boolean isBeta() {
        return beta;
    }

    private void setBeta(boolean beta) {
        this.beta = beta;
    }

    public boolean isCurrent() {
        return current;
    }

    private void setCurrent(boolean current) {
        this.current = current;
    }

    public String getName() {
        return name;
    }

    private void setName(String name) {
        this.name = name;
    }

    public Heroku.Stack getStack() {
        return Heroku.Stack.fromString(name);
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy