com.ibm.adt.topology.comparator
Class ObjectNameSubstitutionFilter
java.lang.Object
com.ibm.adt.topology.comparator.ComparatorFilter
com.ibm.adt.topology.comparator.ObjectNameSubstitutionFilter
public final class ObjectNameSubstitutionFilter
- extends ComparatorFilter
The ObjectNameSubstitutionFilter tells the compare to treat occurances of
a given string as having a different value (e.g. ".*cell01.*=.*cell02.*").
This allows the ability to mask out irrelevant portions of object names
for the sake of comparing them. The "regex" attribute specifies a regular
expression string on which to match, and the "replacement" attribute
specifies the value to use in plave of the regex value.
Constructor Summary |
ObjectNameSubstitutionFilter(java.lang.String regex,
java.lang.String replacement)
Create an ObjectNameSubstitutionFilter instance with the specified
regex and replacement strings. |
Methods inherited from class com.ibm.adt.topology.comparator.ComparatorFilter |
equals, getContext, getDescription, getQualifiers, getType, hashCode, setContext, setDescription, setQualifiers, setType, toString |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
ObjectNameSubstitutionFilter
public ObjectNameSubstitutionFilter(java.lang.String regex,
java.lang.String replacement)
- Create an ObjectNameSubstitutionFilter instance with the specified
regex and replacement strings.
- Parameters:
regex
- regular expression to match onreplacement
- the replacement string
© Copyright 2006 IBM Corp. 2006 All Rights Reserved