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
TheExternalMergeToolConfiguration
builder.
-
-
Constructor Summary
Constructors Constructor Description ExternalMergeToolConfigurationBuilder(String toolName)
Creates a new instance.
-
Method Summary
-
-
-
Constructor Detail
-
ExternalMergeToolConfigurationBuilder
public ExternalMergeToolConfigurationBuilder(String toolName)
Creates a new instance.- Parameters:
toolName
- the tool name, cannot benull
-
-
Method Detail
-
build
public ExternalMergeToolConfiguration 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
-
-