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, setWriteCallback
public 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 SvnTargetContent
public 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
SVNException
IOException
public void installPatchedTarget(File workingCopyDirectory, boolean dryRun, SVNWCContext context) throws SVNException
SVNException
public void installPatchedPropTarget(boolean dryRun, SVNWCContext context) throws SVNException
SVNException
public void writeOutRejectedHunks(boolean dryRun) throws SVNException
SVNException
public void sendPatchNotification(SVNWCContext context) throws SVNException
SVNException
public 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 SvnTargetContent
public void setCurrentLine(int currentLine)
setCurrentLine
in class SvnTargetContent
public 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 SvnTargetContent
public int getCurrentLine()
getCurrentLine
in class SvnTargetContent
public void setEolStr(String eolStr)
setEolStr
in class SvnTargetContent
public 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 © 2018. All rights reserved.