Class ExternalMergeToolConfiguration.ExternalMergeToolConfigurationBuilder
java.lang.Object
com._1c.g5.v8.dt.compare.externaltool.ExternalMergeToolConfiguration.ExternalMergeToolConfigurationBuilder
- Enclosing class:
- ExternalMergeToolConfiguration
public static final class ExternalMergeToolConfiguration.ExternalMergeToolConfigurationBuilder
extends Object
The
ExternalMergeToolConfiguration builder.-
Constructor Summary
ConstructorsConstructorDescriptionExternalMergeToolConfigurationBuilder(String toolName) Creates a new instance. -
Method Summary
Modifier and TypeMethodDescriptionautoThreeWayMergeOptions(String autoThreeWayMergeOptions) Sets the automatic three-way merge line options.build()Builds a new external merge tool configuration instantiated according to values set here.defaultAutoThreeWayMergeOptions(String defaultAutoThreeWayMergeOptions) Sets the default automatic three-way merge line options.defaultExecutableFile(String defaultExecutableFile) Sets the default executable file path.defaultThreeWayComparisonOptions(String defaultThreeWayComparisonOptions) Sets the default three-way comparison line options.defaultThreeWayMergeOptions(String defaultThreeWayMergeOptions) Sets the default three-way merge line options.defaultToolName(String defaultToolName) Sets the default tool name.defaultTwoWayComparisonOptions(String defaultTwoWayComparisonOptions) Sets the default two-way comparison line options.defaultTwoWayMergeOptions(String defaultTwoWayMergeOptions) Sets the default two-way merge line options.executableFile(String executableFile) Sets the executable file path.threeWayComparisonOptions(String threeWayComparisonOptions) Sets the three-way comparison line options.threeWayMergeOptions(String threeWayMergeOptions) Sets the three-way merge line options.twoWayComparisonOptions(String twoWayComparisonOptions) Sets the two-way comparison line options.twoWayMergeOptions(String twoWayMergeOptions) Sets the two-way merge line options.
-
Constructor Details
-
ExternalMergeToolConfigurationBuilder
Creates a new instance.- Parameters:
toolName- the tool name, cannot benull
-
-
Method Details
-
build
Builds a new external merge tool configuration instantiated according to values set here.- Returns:
- a new external merge tool configuration, never
null
-
executableFile
public ExternalMergeToolConfiguration.ExternalMergeToolConfigurationBuilder executableFile(String executableFile) Sets the executable file path.- Parameters:
executableFile- the executable file path, may benull- Returns:
- this
-
twoWayComparisonOptions
public ExternalMergeToolConfiguration.ExternalMergeToolConfigurationBuilder twoWayComparisonOptions(String twoWayComparisonOptions) Sets the two-way comparison line options.- Parameters:
twoWayComparisonOptions- the two-way comparison line options, may benull- Returns:
- this
-
twoWayMergeOptions
public ExternalMergeToolConfiguration.ExternalMergeToolConfigurationBuilder twoWayMergeOptions(String twoWayMergeOptions) Sets the two-way merge line options.- Parameters:
twoWayMergeOptions- the two-way merge line options, may benull- Returns:
- this
-
threeWayComparisonOptions
public ExternalMergeToolConfiguration.ExternalMergeToolConfigurationBuilder threeWayComparisonOptions(String threeWayComparisonOptions) Sets the three-way comparison line options.- Parameters:
threeWayComparisonOptions- the three-way comparison line options, may benull- Returns:
- this
-
threeWayMergeOptions
public ExternalMergeToolConfiguration.ExternalMergeToolConfigurationBuilder threeWayMergeOptions(String threeWayMergeOptions) Sets the three-way merge line options.- Parameters:
threeWayMergeOptions- the three-way merge line options, may benull- Returns:
- this
-
autoThreeWayMergeOptions
public ExternalMergeToolConfiguration.ExternalMergeToolConfigurationBuilder autoThreeWayMergeOptions(String autoThreeWayMergeOptions) Sets the automatic three-way merge line options.- Parameters:
autoThreeWayMergeOptions- the automatic three-way merge line options, may benull- Returns:
- this
-
defaultToolName
public ExternalMergeToolConfiguration.ExternalMergeToolConfigurationBuilder defaultToolName(String defaultToolName) Sets the default tool name.- Parameters:
defaultToolName- the default tool name, may benull- Returns:
- this
-
defaultExecutableFile
public ExternalMergeToolConfiguration.ExternalMergeToolConfigurationBuilder defaultExecutableFile(String defaultExecutableFile) Sets the default executable file path.- Parameters:
defaultExecutableFile- the default executable file path, may benull- Returns:
- this
-
defaultTwoWayComparisonOptions
public ExternalMergeToolConfiguration.ExternalMergeToolConfigurationBuilder defaultTwoWayComparisonOptions(String defaultTwoWayComparisonOptions) Sets the default two-way comparison line options.- Parameters:
defaultTwoWayComparisonOptions- the default two-way comparison line options, may benull- Returns:
- this
-
defaultTwoWayMergeOptions
public ExternalMergeToolConfiguration.ExternalMergeToolConfigurationBuilder defaultTwoWayMergeOptions(String defaultTwoWayMergeOptions) Sets the default two-way merge line options.- Parameters:
defaultTwoWayMergeOptions- the default two-way merge line options, may benull- Returns:
- this
-
defaultThreeWayComparisonOptions
public ExternalMergeToolConfiguration.ExternalMergeToolConfigurationBuilder defaultThreeWayComparisonOptions(String defaultThreeWayComparisonOptions) Sets the default three-way comparison line options.- Parameters:
defaultThreeWayComparisonOptions- the default three-way comparison line options, may benull- Returns:
- this
-
defaultThreeWayMergeOptions
public ExternalMergeToolConfiguration.ExternalMergeToolConfigurationBuilder defaultThreeWayMergeOptions(String defaultThreeWayMergeOptions) Sets the default three-way merge line options.- Parameters:
defaultThreeWayMergeOptions- the default three-way merge line options, may benull- Returns:
- this
-
defaultAutoThreeWayMergeOptions
public ExternalMergeToolConfiguration.ExternalMergeToolConfigurationBuilder defaultAutoThreeWayMergeOptions(String defaultAutoThreeWayMergeOptions) Sets the default automatic three-way merge line options.- Parameters:
defaultAutoThreeWayMergeOptions- the default automatic three-way merge line options, may benull- Returns:
- this
-