@Component(role=GraphConflictResolutionPolicy.class) public class DefaultGraphConflictResolutionPolicy extends java.lang.Object implements GraphConflictResolutionPolicy
| Modifier and Type | Field and Description |
|---|---|
private boolean |
closerFirst
artifact, closer to the entry point, is selected
|
private boolean |
newerFirst
newer artifact is selected
|
ROLE| Constructor and Description |
|---|
DefaultGraphConflictResolutionPolicy() |
| Modifier and Type | Method and Description |
|---|---|
MetadataGraphEdge |
apply(MetadataGraphEdge e1,
MetadataGraphEdge e2) |
@Configuration(name="closer-first",
value="true")
private boolean closerFirst
@Configuration(name="newer-first",
value="true")
private boolean newerFirst
public DefaultGraphConflictResolutionPolicy()
public MetadataGraphEdge apply(MetadataGraphEdge e1, MetadataGraphEdge e2)
apply in interface GraphConflictResolutionPolicy