public enum MaintenanceState extends Enum<MaintenanceState>
Enum Constant and Description |
---|
IMPLIED_FROM_HOST
Target is in maintenance, implied by parent host.
|
IMPLIED_FROM_SERVICE
Target is in maintenance, implied by parent service.
|
IMPLIED_FROM_SERVICE_AND_HOST
Target is in maintenance, implied by parent service and host.
|
OFF
All group-targeted commands are available.
|
ON
Target was explicitly put into maintenance state.
|
Modifier and Type | Method and Description |
---|---|
static MaintenanceState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MaintenanceState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MaintenanceState OFF
public static final MaintenanceState ON
public static final MaintenanceState IMPLIED_FROM_SERVICE
public static final MaintenanceState IMPLIED_FROM_HOST
public static final MaintenanceState IMPLIED_FROM_SERVICE_AND_HOST
public static MaintenanceState[] values()
for (MaintenanceState c : MaintenanceState.values()) System.out.println(c);
public static MaintenanceState 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 © 2022 Apache Software Foundation. All rights reserved.