Class SvnRemoteMkDir

All Implemented Interfaces:
ISvnObjectReceiver<SVNCommitInfo>, ISvnOperationOptionsProvider

public class SvnRemoteMkDir extends AbstractSvnCommit
Creates directory(ies) in a repository.

All targets should be URLs, representing repository locations to be created. URLs can be from multiple repositories.

If non-null, revisionProperties holds additional, custom revision properties (String names mapped to SVNPropertyValue values) to be set on the new revision. This table cannot contain any standard Subversion properties.

commitHandler will be asked for a commit log message.

If the caller's event handler is not null and if the commit succeeds, the handler will be called with SVNEventAction.COMMIT_COMPLETED event action.

SvnOperation.run() method returns SVNCommitInfo information on a new revision as the result of the commit. SvnOperation.run() throws SVNException in the following cases:

Version:
1.7
Author:
TMate Software Ltd.
  • Constructor Details

  • Method Details

    • isMakeParents

      public boolean isMakeParents()
      Returns whether to create all non-existent parent directories
      Returns:
      true if the non-existent parent directories should be created, otherwise false
    • setMakeParents

      public void setMakeParents(boolean makeParents)
      Sets whether to create all non-existent parent directories
      Parameters:
      makeParents - true if the non-existent parent directories should be created, otherwise false
    • getMaximumTargetsCount

      protected int getMaximumTargetsCount()
      Overrides:
      getMaximumTargetsCount in class SvnOperation<SVNCommitInfo>
    • isChangesWorkingCopy

      public boolean isChangesWorkingCopy()
      Gets whether the operation changes working copy
      Overrides:
      isChangesWorkingCopy in class SvnOperation<SVNCommitInfo>
      Returns:
      true if the operation changes the working copy, otherwise false