public abstract class DefaultToolchain extends Object implements Toolchain, ToolchainPrivate
| Modifier | Constructor and Description |
|---|---|
protected |
DefaultToolchain(ToolchainModel model,
Logger logger) |
protected |
DefaultToolchain(ToolchainModel model,
String type,
Logger logger) |
| Modifier and Type | Method and Description |
|---|---|
void |
addProvideToken(String type,
RequirementMatcher matcher) |
protected Logger |
getLog() |
ToolchainModel |
getModel() |
String |
getType() |
boolean |
matchesRequirements(Map<String,String> requirements)
Let the toolchain decide if it matches requirements defined
in the toolchain plugin configuration.
|
public static final String KEY_TYPE
protected DefaultToolchain(ToolchainModel model, Logger logger)
protected DefaultToolchain(ToolchainModel model, String type, Logger logger)
public 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 - Maptrue if the requirements match, otherwise falseCopyright © 2001–2013 The Apache Software Foundation. All rights reserved.