public final class ModuleClusion extends Object
| Constructor and Description |
|---|
ModuleClusion(String name)
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getName()
Returns the name to match for this clusion.
|
boolean |
match(String moduleName)
Compares the name of the clusion with the given
moduleName. |
String |
toString() |
public ModuleClusion(String name) throws IllegalArgumentException
name - the name to match for this clusion.IllegalArgumentException - if name is blank, but not
null.public String getName()
public boolean match(String moduleName)
moduleName.moduleName - the name to match with.true on a match, false otherwise.Copyright © 2013–2019 FuseSource. All rights reserved.