public enum YarnTaskSchedulerServiceError extends Enum<YarnTaskSchedulerServiceError> implements org.apache.tez.serviceplugins.api.ServicePluginError
| Enum Constant and Description |
|---|
RESOURCEMANAGER_ERROR |
| Modifier and Type | Method and Description |
|---|---|
Enum |
getEnum() |
org.apache.tez.serviceplugins.api.ServicePluginError.ErrorType |
getErrorType() |
static YarnTaskSchedulerServiceError |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static YarnTaskSchedulerServiceError[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final YarnTaskSchedulerServiceError RESOURCEMANAGER_ERROR
public static YarnTaskSchedulerServiceError[] values()
for (YarnTaskSchedulerServiceError c : YarnTaskSchedulerServiceError.values()) System.out.println(c);
public static YarnTaskSchedulerServiceError 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()
getEnum in interface org.apache.tez.serviceplugins.api.ServicePluginErrorpublic org.apache.tez.serviceplugins.api.ServicePluginError.ErrorType getErrorType()
getErrorType in interface org.apache.tez.serviceplugins.api.ServicePluginErrorCopyright © 2019 Apache Software Foundation. All rights reserved.