public enum InfrastructureAlert extends Enum<InfrastructureAlert>
| Enum Constant and Description |
|---|
COMMAND_EXECUTION_FAILURE
Alert raised when there is a command execution failure.
|
PERIODIC_TASK_BEHIND
Alert raised when a periodic task falls behind.
|
PERIODIC_TASK_FAILURE
Alert raised when a periodic task raises an exception.
|
PERIODIC_TASK_SKIPPED
Alert raised when a periodic task has a skipped execution.
|
REQUESTED_STATE_PUBLICATION
Deprecated.
|
STATE_MISMATCH
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
Alert |
getAlert() |
String |
getAlertId() |
String |
getDescription() |
static InfrastructureAlert |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static InfrastructureAlert[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final InfrastructureAlert PERIODIC_TASK_BEHIND
public static final InfrastructureAlert PERIODIC_TASK_FAILURE
public static final InfrastructureAlert PERIODIC_TASK_SKIPPED
@Deprecated public static final InfrastructureAlert STATE_MISMATCH
@Deprecated public static final InfrastructureAlert REQUESTED_STATE_PUBLICATION
public static final InfrastructureAlert COMMAND_EXECUTION_FAILURE
public static InfrastructureAlert[] values()
for (InfrastructureAlert c : InfrastructureAlert.values()) System.out.println(c);
public static InfrastructureAlert 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 getAlertId()
public String getDescription()
public Alert getAlert()
Copyright © 2023 LSST. All rights reserved.