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

name.remal.gradleplugins.ideasettings.IdeaRunOnSaveSettings Maven / Gradle / Ivy

There is a newer version: 3.0.10
Show newest version
package name.remal.gradleplugins.ideasettings;

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