All Downloads are FREE. Search and download functionalities are using the official Maven repository.

scalafix.interfaces.ScalafixMainMode Maven / Gradle / Ivy

There is a newer version: 2.3.0-RC1
Show newest version
package scalafix.interfaces;

/**
 * The mode for running the command-line interface.
 */
public enum ScalafixMainMode {

    /**
     * Default value, write fixed contents in-place.
     */
    IN_PLACE,

    /**
     * Report error if fixed contents does not match original file contents.
     *
     * Does not write to files.
     */
    CHECK,

    /**
     * Print fixed output to stdout.
     *
     * Does not write to files.
     */
    STDOUT,

    /**
     * Instead of reporting linter error messages, write suppression comments in-place.
     */
    AUTO_SUPPRESS_LINTER_ERRORS,

    /**
     * Use when the client triggers the run as a side effect of something else, as opposed to an explicit, interactive invocation. Write fixed contents in-place, with a custom configuration if it exists.
     */
    IN_PLACE_TRIGGERED
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy