Class SVNReporter17
- java.lang.Object
-
- org.tmatesoft.svn.core.internal.wc17.SVNReporter17
-
- All Implemented Interfaces:
ISVNReporterBaton
public class SVNReporter17 extends java.lang.Object implements ISVNReporterBaton
- Version:
- 1.3
-
-
Field Summary
Fields Modifier and Type Field Description private SVNDepth
depth
private boolean
isHonorDepthExclude
private boolean
isRestoreFiles
private boolean
isUseCommitTimes
private boolean
isUseDepthCompatibilityTrick
private java.io.File
path
private int
reportedFilesCount
private int
totalFilesCount
private SVNWCContext
wcContext
-
Constructor Summary
Constructors Constructor Description SVNReporter17(java.io.File path, SVNWCContext wcContext, boolean restoreFiles, boolean useDepthCompatibilityTrick, SVNDepth depth, boolean lockOnDemand, boolean isStatus, boolean isHonorDepthExclude, boolean isUseCommitTimes, ISVNDebugLog log)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getReportedFilesCount()
int
getTotalFilesCount()
void
report(ISVNReporter reporter)
Makes a report describing the state of local items in order to get the differences between the local items and what actually is in a repository.private void
reportRevisionsAndDepths(SVNWCDbRoot root, java.io.File dirPath, java.io.File dirLocalRelPath, java.io.File reportRelPath, long dirRev, java.io.File dirReposRelPath, SVNURL dirReposRoot, SVNDepth dirDepth, ISVNReporter reporter, boolean restoreFiles, SVNDepth depth, boolean reportEverything)
private static void
resolveTextConflict(SVNWCContext context, java.io.File localAbsPath)
private static void
restoreFile(SVNWCContext context, java.io.File localAbsPath, boolean useCommitTimes, boolean removeTextConflicts)
static boolean
restoreNode(SVNWCContext context, java.io.File local_abspath, ISVNWCDb.SVNWCDbKind kind, long target_rev, boolean useCommitTimes)
-
-
-
Field Detail
-
path
private final java.io.File path
-
wcContext
private SVNWCContext wcContext
-
depth
private SVNDepth depth
-
isRestoreFiles
private final boolean isRestoreFiles
-
isUseDepthCompatibilityTrick
private final boolean isUseDepthCompatibilityTrick
-
isHonorDepthExclude
private final boolean isHonorDepthExclude
-
isUseCommitTimes
private boolean isUseCommitTimes
-
reportedFilesCount
private int reportedFilesCount
-
totalFilesCount
private int totalFilesCount
-
-
Constructor Detail
-
SVNReporter17
public SVNReporter17(java.io.File path, SVNWCContext wcContext, boolean restoreFiles, boolean useDepthCompatibilityTrick, SVNDepth depth, boolean lockOnDemand, boolean isStatus, boolean isHonorDepthExclude, boolean isUseCommitTimes, ISVNDebugLog log)
-
-
Method Detail
-
getReportedFilesCount
public int getReportedFilesCount()
-
getTotalFilesCount
public int getTotalFilesCount()
-
report
public void report(ISVNReporter reporter) throws SVNException
Description copied from interface:ISVNReporterBaton
Makes a report describing the state of local items in order to get the differences between the local items and what actually is in a repository.- Specified by:
report
in interfaceISVNReporterBaton
- Parameters:
reporter
- a reporter passed to make reports- Throws:
SVNException
-
restoreNode
public static boolean restoreNode(SVNWCContext context, java.io.File local_abspath, ISVNWCDb.SVNWCDbKind kind, long target_rev, boolean useCommitTimes) throws SVNException
- Throws:
SVNException
-
reportRevisionsAndDepths
private void reportRevisionsAndDepths(SVNWCDbRoot root, java.io.File dirPath, java.io.File dirLocalRelPath, java.io.File reportRelPath, long dirRev, java.io.File dirReposRelPath, SVNURL dirReposRoot, SVNDepth dirDepth, ISVNReporter reporter, boolean restoreFiles, SVNDepth depth, boolean reportEverything) throws SVNException
- Throws:
SVNException
-
restoreFile
private static void restoreFile(SVNWCContext context, java.io.File localAbsPath, boolean useCommitTimes, boolean removeTextConflicts) throws SVNException
- Throws:
SVNException
-
resolveTextConflict
private static void resolveTextConflict(SVNWCContext context, java.io.File localAbsPath) throws SVNException
- Throws:
SVNException
-
-