public enum ScalafixMainMode extends java.lang.Enum<ScalafixMainMode>
| Enum Constant and Description |
|---|
AUTO_SUPPRESS_LINTER_ERRORS
Instead of reporting linter error messages, write suppression comments in-place.
|
CHECK
Report error if fixed contents does not match original file contents.
|
IN_PLACE
Default value, write fixed contents in-place.
|
STDOUT
Print fixed output to stdout.
|
| Modifier and Type | Method and Description |
|---|---|
static ScalafixMainMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ScalafixMainMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ScalafixMainMode IN_PLACE
public static final ScalafixMainMode CHECK
public static final ScalafixMainMode STDOUT
public static final ScalafixMainMode AUTO_SUPPRESS_LINTER_ERRORS
public static ScalafixMainMode[] values()
for (ScalafixMainMode c : ScalafixMainMode.values()) System.out.println(c);
public static ScalafixMainMode valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null