public enum ProjectType extends Enum<ProjectType>
project
types.Enum Constant and Description |
---|
NORMAL
Type for a
simple project instance. |
PERSONAL
Type for a
personal project instance. |
Modifier and Type | Method and Description |
---|---|
static ProjectType |
fromId(int id) |
int |
getId() |
static ProjectType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ProjectType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ProjectType NORMAL
simple project
instance.public static final ProjectType PERSONAL
personal project
instance.public static ProjectType[] values()
for (ProjectType c : ProjectType.values()) System.out.println(c);
public static ProjectType 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 ProjectType fromId(int id)
public int getId()
Copyright © 2021 Atlassian. All rights reserved.