org.apache.maven.toolchain
Class DefaultToolchainManager
java.lang.Object
  
org.codehaus.plexus.logging.AbstractLogEnabled
      
org.apache.maven.toolchain.DefaultToolchainManager
- All Implemented Interfaces: 
 - ToolchainManager, ToolchainManagerPrivate, org.codehaus.plexus.logging.LogEnabled, org.codehaus.plexus.personality.plexus.lifecycle.phase.Contextualizable
 
public class DefaultToolchainManager
- extends org.codehaus.plexus.logging.AbstractLogEnabled
- implements ToolchainManager, ToolchainManagerPrivate, org.codehaus.plexus.personality.plexus.lifecycle.phase.Contextualizable
  
- Author:
 
  - mkleint
 
 
 
 
 
 
| Methods inherited from class org.codehaus.plexus.logging.AbstractLogEnabled | 
enableLogging, getLogger, setupLogger, setupLogger, setupLogger | 
 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
DefaultToolchainManager
public DefaultToolchainManager()
contextualize
public void contextualize(org.codehaus.plexus.context.Context context)
                   throws org.codehaus.plexus.context.ContextException
- Specified by:
 contextualize in interface org.codehaus.plexus.personality.plexus.lifecycle.phase.Contextualizable
 
- Throws:
 org.codehaus.plexus.context.ContextException
 
getToolchainsForType
public ToolchainPrivate[] getToolchainsForType(String type)
                                        throws MisconfiguredToolchainException
- Description copied from interface: 
ToolchainManagerPrivate 
- Retrieves the toolchains of given type from the user settings.
- Specified by:
 getToolchainsForType in interface ToolchainManagerPrivate
 
- Throws:
 MisconfiguredToolchainException
 
 
getToolchainFromBuildContext
public Toolchain getToolchainFromBuildContext(String type,
                                              MavenSession session)
- Description copied from interface: 
ToolchainManager 
- to be used from plugins capable of working with toolchains.
- Specified by:
 getToolchainFromBuildContext in interface ToolchainManager
 
 
 
storeToolchainToBuildContext
public void storeToolchainToBuildContext(ToolchainPrivate toolchain,
                                         MavenSession session)
- Description copied from interface: 
ToolchainManagerPrivate 
- Stores the toolchain into build context.
- Specified by:
 storeToolchainToBuildContext in interface ToolchainManagerPrivate
 
 
 
getStorageKey
public static final String getStorageKey(String type)
 
 
Copyright © 2001-2010 The Apache Software Foundation. All Rights Reserved.