public enum BatchUpdateStatus extends Enum<BatchUpdateStatus> implements xyz.zhouxy.plusone.commons.base.IWithIntCode
| Enum Constant and Description |
|---|
COMPLETED_WITH_ERRORS
部分成功
|
INTERRUPTED
中断
|
SUCCESS
成功
|
| Modifier and Type | Method and Description |
|---|---|
int |
getCode() |
String |
getDescription() |
String |
toString() |
static BatchUpdateStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BatchUpdateStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BatchUpdateStatus SUCCESS
public static final BatchUpdateStatus COMPLETED_WITH_ERRORS
public static final BatchUpdateStatus INTERRUPTED
public static BatchUpdateStatus[] values()
for (BatchUpdateStatus c : BatchUpdateStatus.values()) System.out.println(c);
public static BatchUpdateStatus 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 getCode()
getCode in interface xyz.zhouxy.plusone.commons.base.IWithIntCodepublic String getDescription()
public String toString()
toString in class Enum<BatchUpdateStatus>Copyright © 2026. All rights reserved.