|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.4.0) E13403-05 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectoracle.javatools.patch.PatchMatchOptions
public class PatchMatchOptions
This class represents options controlling the matching of a patch to a context.
PatchEngine.matchModel(oracle.javatools.patch.PatchModel, oracle.javatools.patch.PatchMatchOptions)| Constructor Summary | |
|---|---|
PatchMatchOptions()
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PatchMatchOptions()
| Method Detail |
|---|
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()
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.4.0) E13403-05 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||