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