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

name.remal.gradle_plugins.idea_settings.IdeaRunOnSaveSettings Maven / Gradle / Ivy

The newest version!
package name.remal.gradle_plugins.idea_settings;

import javax.annotation.Nullable;
import javax.inject.Inject;
import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
public class IdeaRunOnSaveSettings {

    public enum ReformatMode {
        DISABLED, WHOLE_FILE, CHANGED_LINES
    }

    @Nullable
    private ReformatMode reformatMode;

    @Nullable
    private Boolean optimizeImports;


    @Inject
    public IdeaRunOnSaveSettings() {
        // do nothing
    }


    /*
    private final Set enabledCustomPluginActions = new TreeSet<>();

    public void setEnabledCustomPluginActions(Iterable enabledCustomPluginActions) {
        setStringsCollectionFromIterable(this.enabledCustomPluginActions, enabledCustomPluginActions);
    }

    private final Set disabledCustomPluginActions = new TreeSet<>();

    public void setDisabledCustomPluginActions(Iterable disabledCustomPluginActions) {
        setStringsCollectionFromIterable(this.disabledCustomPluginActions, disabledCustomPluginActions);
    }
    */

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy