Interface GitConfigGetAllBuilder
- All Superinterfaces:
com.atlassian.bitbucket.scm.CommandBuilderSupport<GitConfigGetAllBuilder>,GitCommandBuilderSupport<GitConfigGetAllBuilder>,TypedGitConfigBuilder<GitConfigGetAllBuilder>
A builder for constructing
git config --get-all commands.- Since:
- 4.12
-
Field Summary
Fields inherited from interface com.atlassian.bitbucket.scm.git.command.GitCommandBuilderSupport
ENV_AUTHOR_DATE, ENV_AUTHOR_EMAIL, ENV_AUTHOR_NAME, ENV_COMMITTER_DATE, ENV_COMMITTER_EMAIL, ENV_COMMITTER_NAME -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds a command which will return aListcontaining all configured values for the key specified when the builder was created.nullTerminated(boolean value) Methods inherited from interface com.atlassian.bitbucket.scm.CommandBuilderSupport
clearEnvironment, defaultExitHandler, exitHandler, removeEnvironment, withEnvironmentMethods inherited from interface com.atlassian.bitbucket.scm.git.command.GitCommandBuilderSupport
alternate, alternates, alternates, author, author, author, build, commitish, committer, committer, committer, treeish, withConfiguration, withConfiguration, withConfiguration, withConfigurationMethods inherited from interface com.atlassian.bitbucket.scm.git.command.config.TypedGitConfigBuilder
type
-
Method Details
-
build
Builds a command which will return aListcontaining all configured values for the key specified when the builder was created. Values are not parsed. TheListreturned will never benull; if the specified key has no configured valuesgit configexits with a non-zero status and aCommandFailedExceptionis thrown.- Returns:
- a command which, when
called, will retrieve a list of the values configured for the specified key
-
nullTerminated
- Parameters:
value- true to useNULcharacters to terminate values; otherwise,falseto use newlines (the default)- Returns:
this
-