public static enum ProjectTeam.Team extends Enum<ProjectTeam.Team>
Modifier and Type | Method and Description |
---|---|
static ProjectTeam.Team |
fromValue(String team) |
String |
toString() |
String |
value() |
static ProjectTeam.Team |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ProjectTeam.Team[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ProjectTeam.Team OWNERS
public static final ProjectTeam.Team EDITORS
public static final ProjectTeam.Team VIEWERS
public static ProjectTeam.Team[] values()
for (ProjectTeam.Team c : ProjectTeam.Team.values()) System.out.println(c);
public static ProjectTeam.Team 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 value()
public String toString()
toString
in class Enum<ProjectTeam.Team>
public static ProjectTeam.Team fromValue(String team)
Copyright © 2009-2018 The Apache Software Foundation. All Rights Reserved.