public static enum Badge.BadgeKind extends Enum<Badge.BadgeKind>
Modifier and Type | Method and Description |
---|---|
static Badge.BadgeKind |
forValue(String value) |
String |
toString() |
String |
toValue() |
static Badge.BadgeKind |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Badge.BadgeKind[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Badge.BadgeKind PROJECT
public static final Badge.BadgeKind GROUP
public static Badge.BadgeKind[] values()
for (Badge.BadgeKind c : Badge.BadgeKind.values()) System.out.println(c);
public static Badge.BadgeKind 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 static Badge.BadgeKind forValue(String value)
public String toValue()
public String toString()
toString
in class Enum<Badge.BadgeKind>
Copyright © 2019. All rights reserved.