| 
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK 11g Release 2 (11.1.2.0.0) E17493-01  | 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectoracle.javatools.patch.PatchContext
public class PatchContext
This class represents transient information for how a PatchModel may 
 be applied to a context.
PatchEngine.matchModel(oracle.javatools.patch.PatchModel, oracle.javatools.patch.PatchMatchOptions)| Constructor Summary | |
|---|---|
PatchContext()
 | 
|
| Method Summary | |
|---|---|
 java.lang.Object | 
clone()
 | 
 int | 
getHunkMatchLine(PatchHunk patchHunk)
Gets the corresponding matched patch hunk line from the context.  | 
 int | 
getPrefixSlashNumber()
Gets the number of prefix slashes to strip from each file name.  | 
 boolean | 
isEntryMatched(PatchEntry patchEntry)
Gets whether the patch entry has been matched against the context.  | 
 void | 
setEntryMatched(PatchEntry patchEntry,
                boolean matched)
Sets whether the patch entry has been matched against the context.  | 
 void | 
setHunkMatchLine(PatchHunk patchHunk,
                 int matchLine)
Sets the corresponding matched patch hunk line from the context.  | 
 void | 
setPrefixSlashNumber(int prefixSlashNumber)
Sets the number of prefix slashes to strip from each file name.  | 
 java.lang.String | 
toString()
 | 
| Methods inherited from class java.lang.Object | 
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
| Constructor Detail | 
|---|
public PatchContext()
| Method Detail | 
|---|
public void setPrefixSlashNumber(int prefixSlashNumber)
prefixSlashNumber - the number of prefix slashes to strip.public int getPrefixSlashNumber()
public void setEntryMatched(PatchEntry patchEntry,
                            boolean matched)
patchEntry - the patch entry.matched - true if the entry is matched.public boolean isEntryMatched(PatchEntry patchEntry)
patchEntry - the patch entry.
true if the entry is matched.
public void setHunkMatchLine(PatchHunk patchHunk,
                             int matchLine)
patchHunk - the patch hunk.matchLine - the matched patch hunk line number, or -1.public int getHunkMatchLine(PatchHunk patchHunk)
patchHunk - the patch hunk.
-1.public java.lang.Object clone()
clone in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object
  | 
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK 11g Release 2 (11.1.2.0.0) E17493-01  | 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||