public static final class ModuleMatcher.Builder
extends java.lang.Object
ModuleMatcher.| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
void |
addExclude(ModuleClusion exclude)
Adds an exclude to the list of excludes.
|
void |
addInclude(ModuleClusion include)
Adds an include to the list of includes.
|
ModuleMatcher |
build()
Builds an instance of
ModuleMatcher. |
public void addInclude(ModuleClusion include) throws java.lang.NullPointerException
include - the include to add.java.lang.NullPointerException - if include is null.public void addExclude(ModuleClusion exclude) throws java.lang.NullPointerException
exclude - the exclude to add.java.lang.NullPointerException - if exclude is null.public ModuleMatcher build()
ModuleMatcher.