public final class DetectorOptions extends Object
Modifier and Type | Class and Description |
---|---|
class |
DetectorOptions.Builder
Class which implements Builder pattern to build DetectorOptions instance.
|
Modifier and Type | Method and Description |
---|---|
String |
getFormat()
Format of the regular expression.
|
int |
getMaximum()
The maximum number of allowed detections.
|
String |
getMessage()
The message to report errors with.
|
int |
getMinimum()
The minimum number of allowed detections.
|
Pattern |
getPattern()
The pattern to use when matching.
|
AbstractViolationReporter |
getReporter()
The violation reporter to use.
|
MatchSuppressor |
getSuppressor()
The suppressor to use.
|
static DetectorOptions.Builder |
newBuilder()
Returns new Builder object.
|
public static DetectorOptions.Builder newBuilder()
public String getFormat()
public AbstractViolationReporter getReporter()
public String getMessage()
public int getMinimum()
public int getMaximum()
public MatchSuppressor getSuppressor()
public Pattern getPattern()
Copyright © 2001–2018. All rights reserved.