public static class MergeUtility.MergeOptions extends Object
Constructor and Description |
---|
MergeOptions() |
Modifier and Type | Method and Description |
---|---|
boolean |
isHandleRemoveRunMode()
Returns
true if the remove run mode should be respected. |
boolean |
isLatestArtifactWins()
Returns
true if the latest artifact should win on a merge. |
MergeUtility.MergeOptions |
setHandleRemoveRunMode(boolean handleRemoveRunMode)
Set to
true if the remove run mode should be respected. |
MergeUtility.MergeOptions |
setLatestArtifactWins(boolean latestArtifactWins)
Set to
true if the latest artifact should win on a merge. |
public boolean isHandleRemoveRunMode()
true
if the remove run mode should be respected.true
or false
public MergeUtility.MergeOptions setHandleRemoveRunMode(boolean handleRemoveRunMode)
true
if the remove run mode should be respected.handleRemoveRunMode
- Whether the remove run mode should be respected.public boolean isLatestArtifactWins()
true
if the latest artifact should win on a merge.true
or false
if the artifact with the
highest version should winpublic MergeUtility.MergeOptions setLatestArtifactWins(boolean latestArtifactWins)
true
if the latest artifact should win on a merge.
Set to false
if the artifact with the highest version should winlatestArtifactWins
- Whether the latest artifact should winCopyright © 2017 The Apache Software Foundation. All rights reserved.