public abstract class DefaultToolchain extends Object implements Toolchain, ToolchainPrivate
| Modifier | Constructor and Description | 
|---|---|
| protected  | DefaultToolchain(ToolchainModel model,
                org.codehaus.plexus.logging.Logger logger) | 
| protected  | DefaultToolchain(ToolchainModel model,
                String type,
                org.codehaus.plexus.logging.Logger logger) | 
| Modifier and Type | Method and Description | 
|---|---|
| void | addProvideToken(String type,
               RequirementMatcher matcher) | 
| boolean | equals(Object obj) | 
| protected org.codehaus.plexus.logging.Logger | getLog() | 
| ToolchainModel | getModel() | 
| String | getType()get the type of toolchain. | 
| int | hashCode() | 
| boolean | matchesRequirements(Map<String,String> requirements)Let the toolchain decide if it matches requirements defined
 in the toolchain plugin configuration. | 
| String | toString() | 
public static final String KEY_TYPE
protected DefaultToolchain(ToolchainModel model, org.codehaus.plexus.logging.Logger logger)
model - the model, must not be nulllogger - the logger, must not be nullprotected DefaultToolchain(ToolchainModel model, String type, org.codehaus.plexus.logging.Logger logger)
model - the model, must not be nulltype - the typelogger - the logger, must not be nullpublic final String getType()
Toolchainpublic final ToolchainModel getModel()
getModel in interface ToolchainPrivatepublic final void addProvideToken(String type, RequirementMatcher matcher)
public boolean matchesRequirements(Map<String,String> requirements)
ToolchainPrivatematchesRequirements in interface ToolchainPrivaterequirements - Map<String, String> key value pair, may not be nulltrue if the requirements match, otherwise falseprotected org.codehaus.plexus.logging.Logger getLog()
Copyright © 2001–2017 The Apache Software Foundation. All rights reserved.