com.heroku.api
public static enum Heroku.Stack extends Enum<Heroku.Stack>
Enum Constant and Description |
---|
Aspen |
Bamboo187 |
Bamboo192 |
Cedar |
Cedar14 |
Modifier and Type | Method and Description |
---|---|
static Heroku.Stack |
fromString(String stackName) |
String |
toString() |
static Heroku.Stack |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Heroku.Stack[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Heroku.Stack Aspen
public static final Heroku.Stack Bamboo192
public static final Heroku.Stack Bamboo187
public static final Heroku.Stack Cedar
public static final Heroku.Stack Cedar14
public final String value
public static Heroku.Stack[] values()
for (Heroku.Stack c : Heroku.Stack.values()) System.out.println(c);
public static Heroku.Stack valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant
with the specified nameNullPointerException
- if the argument is nullpublic String toString()
toString
in class Enum<Heroku.Stack>
public static Heroku.Stack fromString(String stackName)
Copyright © 2014. All Rights Reserved.