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

util.InterfaceSettings Maven / Gradle / Ivy

Go to download

A tool to perform static analysis on regexes to determine whether they are vulnerable to ReDoS.

There is a newer version: 1.0.8
Show newest version
package util;

public class InterfaceSettings {

	public enum InputType {
		USER_INPUT,
		FILE_INPUT,
		COMMAND_LINE_INPUT
	}
	
	private final InputType inputType;
	public InputType getInputType() {
		return inputType;
	}

	private final boolean isVerbose;
	public boolean getIsVerbose() {
		return isVerbose;
	}

	public InterfaceSettings(InputType inputType, boolean isVerbose) {
		this.inputType = inputType;
		this.isVerbose = isVerbose;
	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy