public class EnableDisableListUtilsImpl extends java.lang.Object implements EnableDisableListUtils
| Constructor and Description |
|---|
EnableDisableListUtilsImpl() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
enabled(java.lang.String list,
java.lang.String option) |
boolean |
enabled(java.lang.String list,
java.lang.String option,
boolean defaultValue) |
public boolean enabled(@NotNull
java.lang.String list,
@NotNull
java.lang.String option)
enabled in interface EnableDisableListUtilslist - The list of options (e.g. option1,-option2,+option3)option - The option we are inspectingpublic boolean enabled(@NotNull
java.lang.String list,
@NotNull
java.lang.String option,
boolean defaultValue)
enabled in interface EnableDisableListUtilslist - The list of options (e.g. option1,-option2,+option3)option - The option we are inspectingdefaultValue - the default value if no option is specified