public class SvnPatchTarget
extends org.tmatesoft.svn.core.internal.wc2.patch.SvnTargetContent
org.tmatesoft.svn.core.internal.wc2.patch.SvnTargetContent.IRealLineCallback, org.tmatesoft.svn.core.internal.wc2.patch.SvnTargetContent.ISeekCallback, org.tmatesoft.svn.core.internal.wc2.patch.SvnTargetContent.ITellCallback, org.tmatesoft.svn.core.internal.wc2.patch.SvnTargetContent.IWriteCallback| Constructor and Description |
|---|
SvnPatchTarget() |
| Modifier and Type | Method and Description |
|---|---|
static SvnPatchTarget |
applyPatch(org.tmatesoft.svn.core.internal.wc2.patch.SvnPatch patch,
java.io.File workingCopyDirectory,
int stripCount,
org.tmatesoft.svn.core.internal.wc17.SVNWCContext context,
boolean ignoreWhitespace,
boolean removeTempFiles) |
java.io.File |
getAbsPath() |
java.io.File |
getCanonPathFromPatchfile() |
int |
getCurrentLine() |
org.tmatesoft.svn.core.SVNNodeKind |
getDbKind() |
java.lang.String |
getEolStr() |
org.tmatesoft.svn.core.SVNNodeKind |
getKindOnDisk() |
java.io.File |
getMoveTargetAbsPath() |
java.io.File |
getPatchedAbsPath() |
org.tmatesoft.svn.core.internal.wc.patch.SVNPatchFileStream |
getPatchedStream() |
java.util.Map<java.lang.String,org.tmatesoft.svn.core.internal.wc2.patch.SvnPropertiesPatchTarget> |
getPropTargets() |
java.io.File |
getRejectAbsPath() |
org.tmatesoft.svn.core.internal.wc.patch.SVNPatchFileStream |
getRejectStream() |
java.io.File |
getRelPath() |
org.tmatesoft.svn.core.internal.wc.patch.SVNPatchFileStream |
getStream() |
boolean |
hasPropChanges() |
boolean |
hasTextChanges() |
void |
installPatchedPropTarget(boolean dryRun,
org.tmatesoft.svn.core.internal.wc17.SVNWCContext context) |
void |
installPatchedTarget(java.io.File workingCopyDirectory,
boolean dryRun,
org.tmatesoft.svn.core.internal.wc17.SVNWCContext context) |
boolean |
isAdded() |
boolean |
isDeleted() |
boolean |
isExecutable() |
boolean |
isExisted() |
boolean |
isFiltered() |
boolean |
isLocallyDeleted() |
boolean |
isReplaced() |
boolean |
isSkipped() |
boolean |
isSpecial() |
boolean |
isSymlink() |
void |
sendPatchNotification(org.tmatesoft.svn.core.internal.wc17.SVNWCContext context) |
void |
setAbsPath(java.io.File absPath) |
void |
setAdded(boolean added) |
void |
setCanonPathFromPatchfile(java.io.File canonPathFromPatchfile) |
void |
setCurrentLine(int currentLine) |
void |
setDbKind(org.tmatesoft.svn.core.SVNNodeKind dbKind) |
void |
setDeleted(boolean deleted) |
void |
setEolStr(java.lang.String eolStr) |
void |
setExecutable(boolean executable) |
void |
setExisted(boolean existed) |
void |
setHadPropRejects(boolean hadPropRejects) |
void |
setHadRejects(boolean hadRejects) |
void |
setHasLocalModifications(boolean hasLocalModifications) |
void |
setHasPropChanges(boolean hasPropChanges) |
void |
setHasTextChanges(boolean hasTextChanges) |
void |
setKindOnDisk(org.tmatesoft.svn.core.SVNNodeKind kindOnDisk) |
void |
setLocallyDeleted(boolean locallyDeleted) |
void |
setPatchedAbsPath(java.io.File patchedAbsPath) |
void |
setPatchedStream(org.tmatesoft.svn.core.internal.wc.patch.SVNPatchFileStream patchedStream) |
void |
setRejectAbsPath(java.io.File rejectAbsPath) |
void |
setRejectStream(org.tmatesoft.svn.core.internal.wc.patch.SVNPatchFileStream rejectStream) |
void |
setRelPath(java.io.File relPath) |
void |
setReplaced(boolean replaced) |
void |
setSkipped(boolean skipped) |
void |
setSpecial(boolean special) |
void |
setStream(org.tmatesoft.svn.core.internal.wc.patch.SVNPatchFileStream stream) |
void |
setSymlink(boolean symlink) |
void |
writeOutRejectedHunks(boolean dryRun) |
addHunkInfo, getEolStyle, getHunkInfos, getKeywords, getLines, getReadBaton, getReadLineCallback, getSeekCallback, getTellCallback, getWriteBaton, getWriteCallback, isEof, matchExistingTarget, readLine, scanForMatch, seekToLine, setEof, setEolStyle, setKeywords, setLines, setReadBaton, setReadLineCallback, setSeekCallback, setTellCallback, setWriteBaton, setWriteCallbackpublic boolean isFiltered()
public boolean isSkipped()
public boolean hasTextChanges()
public boolean isAdded()
public java.io.File getAbsPath()
public java.io.File getMoveTargetAbsPath()
public boolean isDeleted()
public boolean hasPropChanges()
public void setSpecial(boolean special)
public java.util.Map<java.lang.String,org.tmatesoft.svn.core.internal.wc2.patch.SvnPropertiesPatchTarget> getPropTargets()
public java.lang.String getEolStr()
getEolStr in class org.tmatesoft.svn.core.internal.wc2.patch.SvnTargetContentpublic java.io.File getRejectAbsPath()
public void setRejectAbsPath(java.io.File rejectAbsPath)
public org.tmatesoft.svn.core.internal.wc.patch.SVNPatchFileStream getStream()
public org.tmatesoft.svn.core.internal.wc.patch.SVNPatchFileStream getPatchedStream()
public void setPatchedStream(org.tmatesoft.svn.core.internal.wc.patch.SVNPatchFileStream patchedStream)
public org.tmatesoft.svn.core.internal.wc.patch.SVNPatchFileStream getRejectStream()
public void setRejectStream(org.tmatesoft.svn.core.internal.wc.patch.SVNPatchFileStream rejectStream)
public static SvnPatchTarget applyPatch(org.tmatesoft.svn.core.internal.wc2.patch.SvnPatch patch, java.io.File workingCopyDirectory, int stripCount, org.tmatesoft.svn.core.internal.wc17.SVNWCContext context, boolean ignoreWhitespace, boolean removeTempFiles) throws org.tmatesoft.svn.core.SVNException, java.io.IOException
org.tmatesoft.svn.core.SVNExceptionjava.io.IOExceptionpublic void installPatchedTarget(java.io.File workingCopyDirectory,
boolean dryRun,
org.tmatesoft.svn.core.internal.wc17.SVNWCContext context)
throws org.tmatesoft.svn.core.SVNException
org.tmatesoft.svn.core.SVNExceptionpublic void installPatchedPropTarget(boolean dryRun,
org.tmatesoft.svn.core.internal.wc17.SVNWCContext context)
throws org.tmatesoft.svn.core.SVNException
org.tmatesoft.svn.core.SVNExceptionpublic void writeOutRejectedHunks(boolean dryRun)
throws org.tmatesoft.svn.core.SVNException
org.tmatesoft.svn.core.SVNExceptionpublic void sendPatchNotification(org.tmatesoft.svn.core.internal.wc17.SVNWCContext context)
throws org.tmatesoft.svn.core.SVNException
org.tmatesoft.svn.core.SVNExceptionpublic void setHadRejects(boolean hadRejects)
public void setHadPropRejects(boolean hadPropRejects)
public void setSkipped(boolean skipped)
public boolean isSymlink()
public void setAdded(boolean added)
public void setReplaced(boolean replaced)
public boolean isLocallyDeleted()
public org.tmatesoft.svn.core.SVNNodeKind getKindOnDisk()
public org.tmatesoft.svn.core.SVNNodeKind getDbKind()
public void setDeleted(boolean deleted)
public void setDbKind(org.tmatesoft.svn.core.SVNNodeKind dbKind)
public void setKindOnDisk(org.tmatesoft.svn.core.SVNNodeKind kindOnDisk)
public void setExisted(boolean existed)
setExisted in class org.tmatesoft.svn.core.internal.wc2.patch.SvnTargetContentpublic void setCurrentLine(int currentLine)
setCurrentLine in class org.tmatesoft.svn.core.internal.wc2.patch.SvnTargetContentpublic void setHasLocalModifications(boolean hasLocalModifications)
public void setExecutable(boolean executable)
public void setAbsPath(java.io.File absPath)
public void setRelPath(java.io.File relPath)
public java.io.File getCanonPathFromPatchfile()
public void setCanonPathFromPatchfile(java.io.File canonPathFromPatchfile)
public java.io.File getRelPath()
public void setLocallyDeleted(boolean locallyDeleted)
public void setSymlink(boolean symlink)
public boolean isExisted()
isExisted in class org.tmatesoft.svn.core.internal.wc2.patch.SvnTargetContentpublic int getCurrentLine()
getCurrentLine in class org.tmatesoft.svn.core.internal.wc2.patch.SvnTargetContentpublic void setEolStr(java.lang.String eolStr)
setEolStr in class org.tmatesoft.svn.core.internal.wc2.patch.SvnTargetContentpublic boolean isReplaced()
public boolean isSpecial()
public boolean isExecutable()
public java.io.File getPatchedAbsPath()
public void setPatchedAbsPath(java.io.File patchedAbsPath)
public void setHasPropChanges(boolean hasPropChanges)
public void setHasTextChanges(boolean hasTextChanges)
public void setStream(org.tmatesoft.svn.core.internal.wc.patch.SVNPatchFileStream stream)