public static enum ConfigureWindowsService.DisableServiceReturnCode extends Enum<ConfigureWindowsService.DisableServiceReturnCode>
Enum Constant and Description |
---|
SERVICE_ALREADY_DISABLED
Return code
1 means that the service was already disabled. |
SERVICE_DISABLE_ERROR
Return code
3 means that an unexpected error has occurred. |
SERVICE_DISABLE_SUCCESS
Return code
0 means that the service has been successfully disabled. |
SERVICE_MARKED_FOR_DELETION
Return code
2 means that the service has been marked for deletion. |
Modifier and Type | Method and Description |
---|---|
static ConfigureWindowsService.DisableServiceReturnCode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ConfigureWindowsService.DisableServiceReturnCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ConfigureWindowsService.DisableServiceReturnCode SERVICE_DISABLE_SUCCESS
0
means that the service has been successfully disabled.public static final ConfigureWindowsService.DisableServiceReturnCode SERVICE_ALREADY_DISABLED
1
means that the service was already disabled.public static final ConfigureWindowsService.DisableServiceReturnCode SERVICE_MARKED_FOR_DELETION
2
means that the service has been marked for deletion.public static final ConfigureWindowsService.DisableServiceReturnCode SERVICE_DISABLE_ERROR
3
means that an unexpected error has occurred.public static ConfigureWindowsService.DisableServiceReturnCode[] values()
for (ConfigureWindowsService.DisableServiceReturnCode c : ConfigureWindowsService.DisableServiceReturnCode.values()) System.out.println(c);
public static ConfigureWindowsService.DisableServiceReturnCode 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 2010-2020 ForgeRock AS.