@Generated public class MavenToolchainsMerger extends Object
Modifier and Type | Class and Description |
---|---|
static interface |
MavenToolchainsMerger.KeyComputer<T>
Use to compute keys for data structures
|
Constructor and Description |
---|
MavenToolchainsMerger() |
public PersistedToolchains merge(PersistedToolchains target, PersistedToolchains source, boolean sourceDominant, Map<?,?> hints)
target
- The target object whose existing contents should be merged with the source, must not be
null
.source
- The (read-only) source object that should be merged into the target object, may be
null
.sourceDominant
- A flag indicating whether either the target object or the source object provides the
dominant data.hints
- A set of key-value pairs that customized merger implementations can use to carry domain-specific
information along, may be null
.protected TrackableBase mergeTrackableBase(TrackableBase target, TrackableBase source, boolean sourceDominant, Map<Object,Object> context)
protected void mergeTrackableBase(TrackableBase.Builder builder, TrackableBase target, TrackableBase source, boolean sourceDominant, Map<Object,Object> context)
protected PersistedToolchains mergePersistedToolchains(PersistedToolchains target, PersistedToolchains source, boolean sourceDominant, Map<Object,Object> context)
protected void mergePersistedToolchains(PersistedToolchains.Builder builder, PersistedToolchains target, PersistedToolchains source, boolean sourceDominant, Map<Object,Object> context)
protected void mergePersistedToolchains_Toolchains(PersistedToolchains.Builder builder, PersistedToolchains target, PersistedToolchains source, boolean sourceDominant, Map<Object,Object> context)
protected ToolchainModel mergeToolchainModel(ToolchainModel target, ToolchainModel source, boolean sourceDominant, Map<Object,Object> context)
protected void mergeToolchainModel(ToolchainModel.Builder builder, ToolchainModel target, ToolchainModel source, boolean sourceDominant, Map<Object,Object> context)
protected void mergeToolchainModel_Type(ToolchainModel.Builder builder, ToolchainModel target, ToolchainModel source, boolean sourceDominant, Map<Object,Object> context)
protected void mergeToolchainModel_Provides(ToolchainModel.Builder builder, ToolchainModel target, ToolchainModel source, boolean sourceDominant, Map<Object,Object> context)
protected void mergeToolchainModel_Configuration(ToolchainModel.Builder builder, ToolchainModel target, ToolchainModel source, boolean sourceDominant, Map<Object,Object> context)
protected MavenToolchainsMerger.KeyComputer<TrackableBase> getTrackableBaseKey()
protected MavenToolchainsMerger.KeyComputer<PersistedToolchains> getPersistedToolchainsKey()
protected MavenToolchainsMerger.KeyComputer<ToolchainModel> getToolchainModelKey()
public static <T> List<T> merge(List<T> tgt, List<T> src, boolean sourceDominant, MavenToolchainsMerger.KeyComputer<T> computer)
public static <T> List<T> merge(List<T> tgt, List<T> src, MavenToolchainsMerger.KeyComputer<T> computer, BinaryOperator<T> remapping)
Copyright © 2001–2022 The Apache Software Foundation. All rights reserved.