@Component(role=ConflictResolverFactory.class) public class DefaultConflictResolverFactory extends Object implements ConflictResolverFactory, org.codehaus.plexus.personality.plexus.lifecycle.phase.Contextualizable
ROLE
Constructor and Description |
---|
DefaultConflictResolverFactory() |
Modifier and Type | Method and Description |
---|---|
void |
contextualize(org.codehaus.plexus.context.Context context) |
ConflictResolver |
getConflictResolver(String type)
Gets a conflict resolver of the specified type.
|
public ConflictResolver getConflictResolver(String type) throws ConflictResolverNotFoundException
ConflictResolverFactory
getConflictResolver
in interface ConflictResolverFactory
type
- the type of conflict resolver to obtainConflictResolverNotFoundException
- if the specified type was not foundpublic void contextualize(org.codehaus.plexus.context.Context context) throws org.codehaus.plexus.context.ContextException
contextualize
in interface org.codehaus.plexus.personality.plexus.lifecycle.phase.Contextualizable
org.codehaus.plexus.context.ContextException
Copyright © 2001–2019 The Apache Software Foundation. All rights reserved.