
util.InterfaceSettings Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of regex-static-analysis Show documentation
Show all versions of regex-static-analysis Show documentation
A tool to perform static analysis on regexes to determine whether they are vulnerable to ReDoS.
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