org.apache.maven.toolchain
Class DefaultToolchain
java.lang.Object
  
org.apache.maven.toolchain.DefaultToolchain
- All Implemented Interfaces: 
 - Toolchain, ToolchainPrivate
 
- Direct Known Subclasses: 
 - DefaultJavaToolChain
 
public abstract class DefaultToolchain
- extends Object
- implements Toolchain, ToolchainPrivate
  
- Author:
 
  - mkleint
 
 
 
 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
 
KEY_TYPE
public static final String KEY_TYPE
- See Also:
 - Constant Field Values
 
DefaultToolchain
protected DefaultToolchain(ToolchainModel model,
                           org.codehaus.plexus.logging.Logger logger)
DefaultToolchain
protected DefaultToolchain(ToolchainModel model,
                           String type,
                           org.codehaus.plexus.logging.Logger logger)
getType
public final String getType()
- Specified by:
 getType in interface Toolchain
 
 
getModel
public final ToolchainModel getModel()
- Specified by:
 getModel in interface ToolchainPrivate
 
 
addProvideToken
public final void addProvideToken(String type,
                                  RequirementMatcher matcher)
 
 
matchesRequirements
public boolean matchesRequirements(Map requirements)
- Description copied from interface: 
ToolchainPrivate 
- Let the toolchain decide if it matches requirements defined
 in the toolchain plugin configuration.
- Specified by:
 matchesRequirements in interface ToolchainPrivate
 
- Parameters:
 requirements - Map key value pair
- Returns:
 
 
 
getLog
protected org.codehaus.plexus.logging.Logger getLog()
 
 
Copyright © 2001-2010 The Apache Software Foundation. All Rights Reserved.