public enum ESuccess extends Enum<ESuccess> implements ISuccessIndicator
| Modifier and Type | Method and Description |
|---|---|
boolean |
isSuccess() |
static ESuccess |
valueOf(boolean bSuccess) |
static ESuccess |
valueOf(ISuccessIndicator aSuccessIndicator) |
static ESuccess |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ESuccess |
valueOfChange(IChangeIndicator aChange) |
static ESuccess[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfand, isFailure, orpublic static final ESuccess SUCCESS
public static final ESuccess FAILURE
public static ESuccess[] values()
for (ESuccess c : ESuccess.values()) System.out.println(c);
public static ESuccess 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 boolean isSuccess()
isSuccess in interface ISuccessIndicatortrue on success and false on failure.@Nonnull public static ESuccess valueOf(@Nonnull ISuccessIndicator aSuccessIndicator)
@Nonnull public static ESuccess valueOfChange(@Nonnull IChangeIndicator aChange)
Copyright © 2014–2020 Philip Helger. All rights reserved.