Class SvnNgAdd
- java.lang.Object
-
- org.tmatesoft.svn.core.internal.wc2.SvnOperationRunner<V,T>
-
- org.tmatesoft.svn.core.internal.wc2.SvnLocalOperationRunner<V,T>
-
- org.tmatesoft.svn.core.internal.wc2.ng.SvnNgOperationRunner<java.lang.Void,SvnScheduleForAddition>
-
- org.tmatesoft.svn.core.internal.wc2.ng.SvnNgAdd
-
- All Implemented Interfaces:
ISVNCanceller
,ISVNEventHandler
,ISvnOperationRunner<java.lang.Void,SvnScheduleForAddition>
public class SvnNgAdd extends SvnNgOperationRunner<java.lang.Void,SvnScheduleForAddition>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description private static class
SvnNgAdd.CheckCanAddNode
private static class
SvnNgAdd.CheckCanAddToParent
-
Field Summary
-
Fields inherited from interface org.tmatesoft.svn.core.ISVNCanceller
NULL
-
Fields inherited from interface org.tmatesoft.svn.core.wc.ISVNEventHandler
UNKNOWN
-
-
Constructor Summary
Constructors Constructor Description SvnNgAdd()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private void
add(java.io.File path, java.io.File parentPath, java.io.File existingParentPath)
protected void
add(java.io.File localAbsPath, SVNDepth depth, SVNURL copyFromUrl, long copyFromRevision, boolean fireEvent)
private void
add(SvnTarget target)
private void
addDirectory(java.io.File path, SVNDepth depth, boolean refreshIgnores)
private void
addFile(java.io.File path)
void
addFromDisk(java.io.File path, SVNProperties props, boolean fireEvent)
private SVNNodeKind
checkCanAddNode(java.io.File path)
private SvnNgAdd.CheckCanAddNode
checkCanAddNode(java.io.File localAbsPath, SVNURL copyFromUrl, long copyFromRevision)
private SvnNgAdd.CheckCanAddToParent
checkCanAddtoParent(java.io.File localAbsPath)
private void
doRevert(java.io.File path)
private java.io.File
findExistingParent(java.io.File parentPath)
private java.util.Map
getAllAutoProperties(ISVNOptions options, java.io.File file)
private void
integrateNestedWcAsCopy(java.io.File localAbsPath)
protected java.lang.Void
run(SVNWCContext context)
-
Methods inherited from class org.tmatesoft.svn.core.internal.wc2.ng.SvnNgOperationRunner
deleteDeleteFiles, getRepositoryAccess, getWcGeneration, matchesChangelist, reset, run, setRepositoryAccess
-
Methods inherited from class org.tmatesoft.svn.core.internal.wc2.SvnLocalOperationRunner
getFirstTarget, isApplicable, sleepForTimestamp
-
Methods inherited from class org.tmatesoft.svn.core.internal.wc2.SvnOperationRunner
checkCancelled, getOperation, getWcContext, handleEvent, handleEvent, run, setOperation, setWcContext
-
-
-
-
Method Detail
-
run
protected java.lang.Void run(SVNWCContext context) throws SVNException
- Specified by:
run
in classSvnNgOperationRunner<java.lang.Void,SvnScheduleForAddition>
- Throws:
SVNException
-
add
private void add(SvnTarget target) throws SVNException
- Throws:
SVNException
-
add
private void add(java.io.File path, java.io.File parentPath, java.io.File existingParentPath) throws SVNException
- Throws:
SVNException
-
addFile
private void addFile(java.io.File path) throws SVNException
- Throws:
SVNException
-
getAllAutoProperties
private java.util.Map getAllAutoProperties(ISVNOptions options, java.io.File file) throws SVNException
- Throws:
SVNException
-
doRevert
private void doRevert(java.io.File path)
-
addDirectory
private void addDirectory(java.io.File path, SVNDepth depth, boolean refreshIgnores) throws SVNException
- Throws:
SVNException
-
addFromDisk
public void addFromDisk(java.io.File path, SVNProperties props, boolean fireEvent) throws SVNException
- Throws:
SVNException
-
add
protected void add(java.io.File localAbsPath, SVNDepth depth, SVNURL copyFromUrl, long copyFromRevision, boolean fireEvent) throws SVNException
- Throws:
SVNException
-
checkCanAddtoParent
private SvnNgAdd.CheckCanAddToParent checkCanAddtoParent(java.io.File localAbsPath) throws SVNException
- Throws:
SVNException
-
checkCanAddNode
private SvnNgAdd.CheckCanAddNode checkCanAddNode(java.io.File localAbsPath, SVNURL copyFromUrl, long copyFromRevision) throws SVNException
- Throws:
SVNException
-
checkCanAddNode
private SVNNodeKind checkCanAddNode(java.io.File path) throws SVNException
- Throws:
SVNException
-
findExistingParent
private java.io.File findExistingParent(java.io.File parentPath) throws SVNException
- Throws:
SVNException
-
integrateNestedWcAsCopy
private void integrateNestedWcAsCopy(java.io.File localAbsPath) throws SVNException
- Throws:
SVNException
-
-