public class SvnPatchTarget extends SvnTargetContent
SvnTargetContent.IRealLineCallback, SvnTargetContent.ISeekCallback, SvnTargetContent.ITellCallback, SvnTargetContent.IWriteCallback| Constructor and Description |
|---|
SvnPatchTarget() |
| Modifier and Type | Method and Description |
|---|---|
static SvnPatchTarget |
applyPatch(SvnPatch patch,
java.io.File workingCopyDirectory,
int stripCount,
SVNWCContext context,
boolean ignoreWhitespace,
boolean removeTempFiles) |
java.io.File |
getAbsPath() |
java.io.File |
getCanonPathFromPatchfile() |
int |
getCurrentLine() |
SVNNodeKind |
getDbKind() |
java.lang.String |
getEolStr() |
SVNNodeKind |
getKindOnDisk() |
java.io.File |
getMoveTargetAbsPath() |
java.io.File |
getPatchedAbsPath() |
SVNPatchFileStream |
getPatchedStream() |
java.util.Map<java.lang.String,SvnPropertiesPatchTarget> |
getPropTargets() |
java.io.File |
getRejectAbsPath() |
SVNPatchFileStream |
getRejectStream() |
java.io.File |
getRelPath() |
SVNPatchFileStream |
getStream() |
boolean |
hasPropChanges() |
boolean |
hasTextChanges() |
void |
installPatchedPropTarget(boolean dryRun,
SVNWCContext context) |
void |
installPatchedTarget(java.io.File workingCopyDirectory,
boolean dryRun,
SVNWCContext context) |
boolean |
isAdded() |
boolean |
isDeleted() |
boolean |
isExecutable() |
boolean |
isExisted() |
boolean |
isFiltered() |
boolean |
isLocallyDeleted() |
boolean |
isReplaced() |
boolean |
isSkipped() |
boolean |
isSpecial() |
boolean |
isSymlink() |
void |
sendPatchNotification(SVNWCContext context) |
void |
setAbsPath(java.io.File absPath) |
void |
setAdded(boolean added) |
void |
setCanonPathFromPatchfile(java.io.File canonPathFromPatchfile) |
void |
setCurrentLine(int currentLine) |
void |
setDbKind(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(SVNNodeKind kindOnDisk) |
void |
setLocallyDeleted(boolean locallyDeleted) |
void |
setPatchedAbsPath(java.io.File patchedAbsPath) |
void |
setPatchedStream(SVNPatchFileStream patchedStream) |
void |
setRejectAbsPath(java.io.File rejectAbsPath) |
void |
setRejectStream(SVNPatchFileStream rejectStream) |
void |
setRelPath(java.io.File relPath) |
void |
setReplaced(boolean replaced) |
void |
setSkipped(boolean skipped) |
void |
setSpecial(boolean special) |
void |
setStream(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,SvnPropertiesPatchTarget> getPropTargets()
public java.lang.String getEolStr()
getEolStr in class SvnTargetContentpublic java.io.File getRejectAbsPath()
public void setRejectAbsPath(java.io.File rejectAbsPath)
public SVNPatchFileStream getStream()
public SVNPatchFileStream getPatchedStream()
public void setPatchedStream(SVNPatchFileStream patchedStream)
public SVNPatchFileStream getRejectStream()
public void setRejectStream(SVNPatchFileStream rejectStream)
public static SvnPatchTarget applyPatch(SvnPatch patch, java.io.File workingCopyDirectory, int stripCount, SVNWCContext context, boolean ignoreWhitespace, boolean removeTempFiles) throws SVNException, java.io.IOException
SVNExceptionjava.io.IOExceptionpublic void installPatchedTarget(java.io.File workingCopyDirectory,
boolean dryRun,
SVNWCContext context)
throws SVNException
SVNExceptionpublic void installPatchedPropTarget(boolean dryRun,
SVNWCContext context)
throws SVNException
SVNExceptionpublic void writeOutRejectedHunks(boolean dryRun)
throws SVNException
SVNExceptionpublic void sendPatchNotification(SVNWCContext context) throws SVNException
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 SVNNodeKind getKindOnDisk()
public SVNNodeKind getDbKind()
public void setDeleted(boolean deleted)
public void setDbKind(SVNNodeKind dbKind)
public void setKindOnDisk(SVNNodeKind kindOnDisk)
public void setExisted(boolean existed)
setExisted in class SvnTargetContentpublic void setCurrentLine(int currentLine)
setCurrentLine in class 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 SvnTargetContentpublic int getCurrentLine()
getCurrentLine in class SvnTargetContentpublic void setEolStr(java.lang.String eolStr)
setEolStr in class 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(SVNPatchFileStream stream)
Copyright © 2004-2012 TMate Software Ltd. All Rights Reserved.