public class StringConf<T> extends Object
| Modifier and Type | Field and Description |
|---|---|
protected Set<String> |
excludes |
protected Set<String> |
includes |
| Constructor and Description |
|---|
StringConf(T parent) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
allow(String value)
Implements allow check for defined includes and excludes.
|
T |
and()
Back to limiter instance.
|
StringConf |
exclude(String value)
Adds disallow value for configuration attribute.
|
StringConf |
include(String value)
Adds allow value for configuration attribute.
|
public StringConf(T parent)
public T and()
public StringConf include(String value)
value - value to be accepted.public StringConf exclude(String value)
value - value to be rejected.protected boolean allow(String value)
value - value to be checkedCopyright © 2020. All rights reserved.