public enum LogSucceed extends Enum<LogSucceed>
Modifier and Type | Method and Description |
---|---|
String |
getMessage() |
void |
setMessage(String message) |
static LogSucceed |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LogSucceed[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LogSucceed SUCCESS
public static final LogSucceed FAIL
public static LogSucceed[] values()
for (LogSucceed c : LogSucceed.values()) System.out.println(c);
public static LogSucceed 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 String getMessage()
public void setMessage(String message)
Copyright © 2018. All rights reserved.