Package org.tmatesoft.svn.core.wc2
Interface ISvnCommitParameters
-
public interface ISvnCommitParameters
Interface describes the parameters defining behavior for the commit operation that touches still versioned files or directories that are somehow missing.To bring your commit parameters into usage, simply pass them to a committer object, for example, to
SvnCommit
.- Version:
- 1.7
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
ISvnCommitParameters.Action
Describes an instruction that operation should take if it meets unversioned or missing item.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
onDirectoryDeletion(java.io.File directory)
Instructs whether to remove the localdirectory
after commit or not.boolean
onFileDeletion(java.io.File file)
Instructs whether to remove the localfile
after commit or not.ISvnCommitParameters.Action
onMissingDirectory(java.io.File file)
Returns the action a commit operation should undertake if there's a missing directory under commit scope that is not however scheduled for deletion.ISvnCommitParameters.Action
onMissingFile(java.io.File file)
-
-
-
Method Detail
-
onMissingFile
ISvnCommitParameters.Action onMissingFile(java.io.File file)
-
onMissingDirectory
ISvnCommitParameters.Action onMissingDirectory(java.io.File file)
Returns the action a commit operation should undertake if there's a missing directory under commit scope that is not however scheduled for deletion.- Parameters:
file
- a missing directory- Returns:
- an action that must be one of the constants defined in the interface
-
onDirectoryDeletion
boolean onDirectoryDeletion(java.io.File directory)
Instructs whether to remove the localdirectory
after commit or not.- Parameters:
directory
- working copy directory- Returns:
true
if directory should be deleted after commit
-
onFileDeletion
boolean onFileDeletion(java.io.File file)
Instructs whether to remove the localfile
after commit or not.- Parameters:
file
- working copy file- Returns:
true
if file should be deleted after commit
-
-