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