public enum ExecStatus extends Enum<ExecStatus>
Enum Constant and Description |
---|
CREATED |
FAILURE |
NOT_ATTEMPTED |
SUCCESS |
Modifier and Type | Field and Description |
---|---|
protected int |
httpStatus |
Modifier and Type | Method and Description |
---|---|
static ExecStatus |
fromHttpStatus(int httpStatus) |
int |
getHttpStatus() |
static ExecStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ExecStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ExecStatus CREATED
public static final ExecStatus SUCCESS
public static final ExecStatus FAILURE
public static final ExecStatus NOT_ATTEMPTED
public static ExecStatus[] values()
for (ExecStatus c : ExecStatus.values()) System.out.println(c);
public static ExecStatus 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 int getHttpStatus()
public static ExecStatus fromHttpStatus(int httpStatus)
Copyright © 2010–2023 The Apache Software Foundation. All rights reserved.