|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectschemacrawler.schemacrawler.InclusionRule
public final class InclusionRule
Specifies inclusion and exclusion patterns that can be applied to the names of database objects.
| Field Summary | |
|---|---|
static java.lang.String |
ALL
Include everything. |
static java.lang.String |
NONE
Exclude nothing |
| Constructor Summary | |
|---|---|
InclusionRule(java.util.regex.Pattern patternInclude,
java.util.regex.Pattern patternExclude)
Set include and exclude patterns. |
|
InclusionRule(java.lang.String patternInclude,
java.lang.String patternExclude)
Set include and exclude patterns. |
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object obj)
|
int |
hashCode()
|
boolean |
include(java.lang.String name)
Checks whether to add a named object after considering the include and exclude patterns. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String NONE
public static final java.lang.String ALL
| Constructor Detail |
|---|
public InclusionRule(java.util.regex.Pattern patternInclude,
java.util.regex.Pattern patternExclude)
patternInclude - Inclusion patternpatternExclude - Exclusion pattern
public InclusionRule(java.lang.String patternInclude,
java.lang.String patternExclude)
patternInclude - Inclusion patternpatternExclude - Exclusion pattern| Method Detail |
|---|
public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic boolean include(java.lang.String name)
name - Name to check
public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||