DefaultSVNCommitParameters
public interface ISVNCommitParameters
To bring your commit parameters into usage, simply pass them to
a committer object, for example, to
SVNCommitClient
.
DefaultSVNCommitParameters
Modifier and Type | Interface | Description |
---|---|---|
static class |
ISVNCommitParameters.Action |
This class is simply used to define an action a commit
operation should undertake in case of a missing file/directory.
|
Modifier and Type | Field | Description |
---|---|---|
static ISVNCommitParameters.Action |
DELETE |
A constant that instructs a commit operation to force
a deletion of a missing item.
|
static ISVNCommitParameters.Action |
ERROR |
A constant that defines a file/dir missing situation as an
error, commit should fail.
|
static ISVNCommitParameters.Action |
SKIP |
A constant that instructs a commit operation to skip a
missing item.
|
Modifier and Type | Method | Description |
---|---|---|
boolean |
onDirectoryDeletion(java.io.File directory) |
Instructs whether to remove the local
directory after commit or not. |
boolean |
onFileDeletion(java.io.File file) |
Instructs whether to remove the local
file 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) |
Returns the action a commit operation should undertake
if there's a missing file under commit scope that is not however
scheduled for deletion.
|
static final ISVNCommitParameters.Action ERROR
static final ISVNCommitParameters.Action SKIP
static final ISVNCommitParameters.Action DELETE
ISVNCommitParameters.Action onMissingFile(java.io.File file)
file
- a missing fileISVNCommitParameters.Action onMissingDirectory(java.io.File file)
file
- a missing directoryboolean onDirectoryDeletion(java.io.File directory)
directory
after commit or not.directory
- working copy directoryboolean onFileDeletion(java.io.File file)
file
after commit or not.file
- working copy file