@InterfaceAudience.Public public enum ServicePluginErrorDefaults extends Enum<ServicePluginErrorDefaults> implements ServicePluginError
Enum Constant and Description |
---|
INCONSISTENT_STATE
Indicates that the service is in an inconsistent state.
|
OTHER
Other temporary error,
|
OTHER_FATAL
Other fatal error.
|
SERVICE_UNAVAILABLE
Indicates that the service is currently unavailable.
|
Modifier and Type | Method and Description |
---|---|
Enum |
getEnum()
Get the enum representation
|
org.apache.tez.serviceplugins.api.ServicePluginError.ErrorType |
getErrorType()
The type of the error
|
static ServicePluginErrorDefaults |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ServicePluginErrorDefaults[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ServicePluginErrorDefaults SERVICE_UNAVAILABLE
public static final ServicePluginErrorDefaults INCONSISTENT_STATE
public static final ServicePluginErrorDefaults OTHER
public static final ServicePluginErrorDefaults OTHER_FATAL
public static ServicePluginErrorDefaults[] values()
for (ServicePluginErrorDefaults c : ServicePluginErrorDefaults.values()) System.out.println(c);
public static ServicePluginErrorDefaults 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 Enum getEnum()
ServicePluginError
getEnum
in interface ServicePluginError
public org.apache.tez.serviceplugins.api.ServicePluginError.ErrorType getErrorType()
ServicePluginError
getErrorType
in interface ServicePluginError
Copyright © 2024 Apache Software Foundation. All rights reserved.