public enum ComparisonAction extends Enum<ComparisonAction>
An action that can be applied to change.
Enum Constant and Description |
---|
ACCEPT
Change will be visible on result file
|
NONE
Nothing to do
|
REJECT
Reject will be invisible on result file
|
Modifier and Type | Method and Description |
---|---|
static ComparisonAction |
fromInt(int intValue) |
static ComparisonAction |
fromString(String toStringValue) |
int |
toInt() |
String |
toString() |
static ComparisonAction |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ComparisonAction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ComparisonAction ACCEPT
Change will be visible on result file
public static final ComparisonAction NONE
Nothing to do
public static final ComparisonAction REJECT
Reject will be invisible on result file
public static ComparisonAction fromInt(int intValue)
public static ComparisonAction fromString(String toStringValue)
public int toInt()
public String toString()
toString
in class Enum<ComparisonAction>
public static ComparisonAction 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 ComparisonAction[] values()
for (ComparisonAction c : ComparisonAction.values()) System.out.println(c);
Copyright © 2023. All rights reserved.