public static enum ConfigureWindowsService.CleanupServiceReturnCode extends Enum<ConfigureWindowsService.CleanupServiceReturnCode>
Enum Constant and Description |
---|
SERVICE_CLEANUP_ERROR
Return code
3 means that an unexpected error has occurred. |
SERVICE_CLEANUP_MARKED_FOR_DELETION
Return code
2 means that the service has been marked for deletion. |
SERVICE_CLEANUP_SUCCESS
Return code
0 means that the service has been successfully cleaned up. |
SERVICE_NOT_FOUND
Return code
1 means that the service has not been found. |
Modifier and Type | Method and Description |
---|---|
static ConfigureWindowsService.CleanupServiceReturnCode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ConfigureWindowsService.CleanupServiceReturnCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ConfigureWindowsService.CleanupServiceReturnCode SERVICE_CLEANUP_SUCCESS
0
means that the service has been successfully cleaned up.public static final ConfigureWindowsService.CleanupServiceReturnCode SERVICE_NOT_FOUND
1
means that the service has not been found.public static final ConfigureWindowsService.CleanupServiceReturnCode SERVICE_CLEANUP_MARKED_FOR_DELETION
2
means that the service has been marked for deletion.public static final ConfigureWindowsService.CleanupServiceReturnCode SERVICE_CLEANUP_ERROR
3
means that an unexpected error has occurred.public static ConfigureWindowsService.CleanupServiceReturnCode[] values()
for (ConfigureWindowsService.CleanupServiceReturnCode c : ConfigureWindowsService.CleanupServiceReturnCode.values()) System.out.println(c);
public static ConfigureWindowsService.CleanupServiceReturnCode 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.