com.iwillfailyou.StaticfreeSettings Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of iwillfailyou-maven-plugin Show documentation
Show all versions of iwillfailyou-maven-plugin Show documentation
Iwillfailyou - is the plugin for failing not elegant projects
package com.iwillfailyou;
import java.util.Arrays;
import java.util.List;
public final class StaticfreeSettings {
private final List threshold;
public StaticfreeSettings() {
this(
Arrays.asList(0)
);
}
public StaticfreeSettings(
final List threshold
) {
this.threshold = threshold;
}
public int getThreshold() {
return threshold.get(0);
}
public int setThreshold(final int threshold) {
return this.threshold.set(0, threshold);
}
}