public class PatchMatchOptions
extends java.lang.Object
PatchEngine.matchModel(oracle.javatools.patch.PatchModel, oracle.javatools.patch.PatchMatchOptions)| Constructor and Description |
|---|
PatchMatchOptions() |
| Modifier and Type | Method and Description |
|---|---|
int |
getMaximumFuzzFactor()
Gets the maximum fuzz factor for matching patch hunks.
|
int |
getPrefixSlashNumber()
Gets the number of prefix slashes to strip from each file name.
|
boolean |
isIgnoreWhitespace()
Gets the option to ignore whitespace when comparing lines.
|
void |
setIgnoreWhitespace(boolean ignoreWhitespace)
Sets the option to ignore whitespace when comparing lines.
|
void |
setMaximumFuzzFactor(int maximumFuzzFactor)
Sets the maximum fuzz factor for matching patch hunks.
|
void |
setPrefixSlashNumber(int prefixSlashNumber)
Sets the number of prefix slashes to strip from each file name.
|
public void setIgnoreWhitespace(boolean ignoreWhitespace)
ignoreWhitespace - true if whitespace will be ignored.public boolean isIgnoreWhitespace()
true if whitespace will be ignored.public void setMaximumFuzzFactor(int maximumFuzzFactor)
maximumFuzzFactor - the number of contextual lines used to match a hunk.public int getMaximumFuzzFactor()
public void setPrefixSlashNumber(int prefixSlashNumber)
prefixSlashNumber - the number of prefix slashes to strip.public int getPrefixSlashNumber()