public interface GitMvBuilder extends GitCommandBuilderSupport<GitMvBuilder>
ENV_AUTHOR_DATE, ENV_AUTHOR_EMAIL, ENV_AUTHOR_NAME, ENV_COMMITTER_DATE, ENV_COMMITTER_EMAIL, ENV_COMMITTER_NAME| Modifier and Type | Method and Description |
|---|---|
GitCommand<Void> |
build() |
GitMvBuilder |
clearSources()
Clears any
sources that have been added, allowing the builder to be reused
to construct multiple commands. |
GitMvBuilder |
destination(String value)
Specifies the path that the
source file, directory or symlink should be
renamed to. |
GitMvBuilder |
force(boolean value) |
GitMvBuilder |
source(String value)
Specifies a path to move to
destination. |
GitMvBuilder |
sources(Iterable<String> values)
Specifies path(s) to move to
destination. |
GitMvBuilder |
sources(String value,
String... moreValues)
Specifies path(s) to move to
destination. |
alternate, alternates, alternates, author, author, author, build, commitish, committer, committer, committer, treeish, withConfiguration, withConfiguration, withConfiguration, withConfiguration@Nonnull GitCommand<Void> build()
@Nonnull GitMvBuilder clearSources()
sources that have been added, allowing the builder to be reused
to construct multiple commands.@Nonnull GitMvBuilder destination(@Nonnull String value)
source file, directory or symlink should be
renamed to.value - the path to move the source to@Nonnull GitMvBuilder force(boolean value)
value - true to force renaming or moving of a file even if the target exists@Nonnull GitMvBuilder source(@Nonnull String value)
destination.value - the file, directory or symlink to move@Nonnull GitMvBuilder sources(@Nonnull String value, @Nonnull String... moreValues)
destination. To rename a file, directory or
symlink, only 1 path should be specified. If multiple source paths are specified, git mv will move the
specified sources into the destination, which MUST be an existing directory.value - the file, directory or symlink to movemoreValues - additional files, directories or symlinks to move@Nonnull GitMvBuilder sources(@Nonnull Iterable<String> values)
destination. To rename a file, directory or
symlink, only 1 path should be specified. If multiple source paths are specified, git mv will move the
specified sources into the destination, which MUST be an existing directory.values - the files, directories and/or symlinks to moveCopyright © 2023 Atlassian. All rights reserved.