public enum JobMessageSeverity extends Enum<JobMessageSeverity>
Modifier and Type | Method and Description |
---|---|
static JobMessageSeverity |
fromId(int id) |
int |
getId() |
static JobMessageSeverity |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JobMessageSeverity[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JobMessageSeverity INFO
public static final JobMessageSeverity WARN
public static final JobMessageSeverity ERROR
public static JobMessageSeverity[] values()
for (JobMessageSeverity c : JobMessageSeverity.values()) System.out.println(c);
public static JobMessageSeverity 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 int getId()
@Nonnull public static JobMessageSeverity fromId(int id)
id
- the unique identifier
for the type (not its Enum.ordinal()
)IllegalArgumentException
- if the specified ID does not match a typeCopyright © 2022 Atlassian. All rights reserved.