public static enum Incident.Severity extends Enum<Incident.Severity>
| Enum Constant and Description |
|---|
FAILURE
An incident of type FAILURE shall only be recorded when a job fails, i.e.
|
INFO |
WARNING |
| Modifier and Type | Method and Description |
|---|---|
static Incident.Severity |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Incident.Severity[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Incident.Severity INFO
public static final Incident.Severity WARNING
public static final Incident.Severity FAILURE
Job.Status.FAILED state. That implies that there
can be at most one FAILURE incident per job.public static Incident.Severity[] values()
for (Incident.Severity c : Incident.Severity.values()) System.out.println(c);
public static Incident.Severity 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 nullCopyright © 2009–2021 Opencast Project. All rights reserved.