public enum RuleFailure extends Enum<RuleFailure>
| Modifier and Type | Method and Description |
|---|---|
protected Object[] |
buildArguments(AnnotatedElement source,
AnnotatedElement target) |
static RuleFailure |
getByErrorCode(int errorCode) |
int |
getErrorCode() |
String |
getMessage(AnnotatedElement source,
AnnotatedElement target) |
String |
toString() |
static RuleFailure |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RuleFailure[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RuleFailure CLASS_REMOVED
public static final RuleFailure CLASS_VISIBILITY_DEGRADED
public static final RuleFailure CLASS_EXTENSIBILITY_DEGRADED
public static final RuleFailure CLASS_TYPE_CHANGED
public static final RuleFailure FIELD_REMOVED
public static final RuleFailure FIELD_VISIBILITY_DEGRADED
public static final RuleFailure FIELD_MEMBERSHIP_CHANGED
public static final RuleFailure CONSTRUCTOR_REMOVED
public static final RuleFailure CONSTRUCTOR_VISIBILITY_DEGRADED
public static final RuleFailure CONSTRUCTOR_MEMBERSHIP_CHANGED
public static final RuleFailure METHOD_REMOVED
public static final RuleFailure METHOD_VISIBILITY_DEGRADED
public static final RuleFailure METHOD_MEMBERSHIP_CHANGED
public static RuleFailure[] values()
for (RuleFailure c : RuleFailure.values()) System.out.println(c);
public static RuleFailure 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 static RuleFailure getByErrorCode(int errorCode)
protected Object[] buildArguments(AnnotatedElement source, AnnotatedElement target)
public int getErrorCode()
public String getMessage(AnnotatedElement source, AnnotatedElement target)
public String toString()
toString in class Enum<RuleFailure>Copyright © 2022 Unidal Organization. All rights reserved.