Package sonia.scm.repository.api
Class ModifyCommandBuilder.MoveBuilder
java.lang.Object
sonia.scm.repository.api.ModifyCommandBuilder.MoveBuilder
- Enclosing class:
- ModifyCommandBuilder
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the target path the file or directory should be moved to.withOverwrite
(boolean overwrite) Set this totrue
to overwrite the path if it already exists.
-
Constructor Details
-
MoveBuilder
-
-
Method Details
-
withOverwrite
Set this totrue
to overwrite the path if it already exists. Otherwise anAlreadyExistsException
will be thrown.- Returns:
- This move builder instance.
-
to
Sets the target path the file or directory should be moved to.- Returns:
- The builder instance.
-