public class DefaultToolchainManager extends org.codehaus.plexus.logging.AbstractLogEnabled implements ToolchainManager, ToolchainManagerPrivate, org.codehaus.plexus.personality.plexus.lifecycle.phase.Contextualizable
ROLE
ROLE
Constructor and Description |
---|
DefaultToolchainManager() |
Modifier and Type | Method and Description |
---|---|
void |
contextualize(org.codehaus.plexus.context.Context context) |
static String |
getStorageKey(String type) |
Toolchain |
getToolchainFromBuildContext(String type,
org.apache.maven.execution.MavenSession session)
to be used from plugins capable of working with toolchains.
|
ToolchainPrivate[] |
getToolchainsForType(String type)
Retrieves the toolchains of given type from the user settings.
|
void |
storeToolchainToBuildContext(ToolchainPrivate toolchain,
org.apache.maven.execution.MavenSession session)
Stores the toolchain into build context.
|
public 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
public ToolchainPrivate[] getToolchainsForType(String type) throws MisconfiguredToolchainException
ToolchainManagerPrivate
getToolchainsForType
in interface ToolchainManagerPrivate
MisconfiguredToolchainException
public Toolchain getToolchainFromBuildContext(String type, org.apache.maven.execution.MavenSession session)
ToolchainManager
getToolchainFromBuildContext
in interface ToolchainManager
public void storeToolchainToBuildContext(ToolchainPrivate toolchain, org.apache.maven.execution.MavenSession session)
ToolchainManagerPrivate
storeToolchainToBuildContext
in interface ToolchainManagerPrivate
Copyright © 2001-2014 The Apache Software Foundation. All Rights Reserved.