public enum LensSchedulerErrorCode extends Enum<LensSchedulerErrorCode>
Modifier and Type | Method and Description |
---|---|
LensErrorInfo |
getLensErrorInfo() |
static LensSchedulerErrorCode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LensSchedulerErrorCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LensSchedulerErrorCode CANT_SUBMIT_JOB
public static final LensSchedulerErrorCode INVALID_EVENT_FOR_JOB
public static final LensSchedulerErrorCode INVALID_EVENT_FOR_JOB_INSTANCE
public static final LensSchedulerErrorCode CURRENT_USER_IS_NOT_SAME_AS_OWNER
public static final LensSchedulerErrorCode JOB_IS_NOT_SCHEDULED
public static final LensSchedulerErrorCode JOB_INSTANCE_IS_NOT_YET_RUN
public static final LensSchedulerErrorCode CANT_UPDATE_RESOURCE_WITH_HANDLE
public static final LensSchedulerErrorCode FAILED_ALARM_SERVICE_OPERATION
public static final LensSchedulerErrorCode MAX_SCHEDULED_JOB_EXCEEDED
public static LensSchedulerErrorCode[] values()
for (LensSchedulerErrorCode c : LensSchedulerErrorCode.values()) System.out.println(c);
public static LensSchedulerErrorCode 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 LensErrorInfo getLensErrorInfo()
Copyright © 2014–2018 Apache Software Foundation. All rights reserved.