Class MergeUtility.MergeOptions
- java.lang.Object
 - 
- org.apache.sling.provisioning.model.MergeUtility.MergeOptions
 
 
- 
- Enclosing class:
 - MergeUtility
 
public static class MergeUtility.MergeOptions extends java.lang.ObjectOptions for specifying some parts of the merge operation. 
- 
- 
Constructor Summary
Constructors Constructor Description MergeOptions() 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisHandleRemoveRunMode()Returnstrueif the remove run mode should be respected.booleanisLatestArtifactWins()Returnstrueif the latest artifact should win on a merge.MergeUtility.MergeOptionssetHandleRemoveRunMode(boolean handleRemoveRunMode)Set totrueif the remove run mode should be respected.MergeUtility.MergeOptionssetLatestArtifactWins(boolean latestArtifactWins)Set totrueif the latest artifact should win on a merge. 
 - 
 
- 
- 
Method Detail
- 
isHandleRemoveRunMode
public boolean isHandleRemoveRunMode()
Returnstrueif the remove run mode should be respected.- Returns:
 trueorfalse
 
- 
setHandleRemoveRunMode
public MergeUtility.MergeOptions setHandleRemoveRunMode(boolean handleRemoveRunMode)
Set totrueif the remove run mode should be respected.- Parameters:
 handleRemoveRunMode- Whether the remove run mode should be respected.- Returns:
 - This instance.
 
 
- 
isLatestArtifactWins
public boolean isLatestArtifactWins()
Returnstrueif the latest artifact should win on a merge.- Returns:
 trueorfalseif the artifact with the highest version should win
 
- 
setLatestArtifactWins
public MergeUtility.MergeOptions setLatestArtifactWins(boolean latestArtifactWins)
Set totrueif the latest artifact should win on a merge. Set tofalseif the artifact with the highest version should win- Parameters:
 latestArtifactWins- Whether the latest artifact should win- Returns:
 - This instance.
 
 
 - 
 
 -