public class SvnPatchTarget extends SvnTargetContent
SvnTargetContent.IRealLineCallback, SvnTargetContent.ISeekCallback, SvnTargetContent.ITellCallback, SvnTargetContent.IWriteCallback| Constructor and Description |
|---|
SvnPatchTarget() |
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 File getAbsPath()
public File getMoveTargetAbsPath()
public boolean isDeleted()
public boolean hasPropChanges()
public void setSpecial(boolean special)
public Map<String,SvnPropertiesPatchTarget> getPropTargets()
public String getEolStr()
getEolStr in class SvnTargetContentpublic File getRejectAbsPath()
public void setRejectAbsPath(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, File workingCopyDirectory, int stripCount, SVNWCContext context, boolean ignoreWhitespace, boolean removeTempFiles) throws SVNException, IOException
SVNExceptionIOExceptionpublic void installPatchedTarget(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(File absPath)
public void setRelPath(File relPath)
public File getCanonPathFromPatchfile()
public void setCanonPathFromPatchfile(File canonPathFromPatchfile)
public 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(String eolStr)
setEolStr in class SvnTargetContentpublic boolean isReplaced()
public boolean isSpecial()
public boolean isExecutable()
public File getPatchedAbsPath()
public void setPatchedAbsPath(File patchedAbsPath)
public void setHasPropChanges(boolean hasPropChanges)
public void setHasTextChanges(boolean hasTextChanges)
public void setStream(SVNPatchFileStream stream)
Copyright © 2025. All rights reserved.