org.apache.maven.toolchain
Class DefaultToolchainManagerPrivate

java.lang.Object
  extended by org.apache.maven.toolchain.DefaultToolchainManager
      extended by org.apache.maven.toolchain.DefaultToolchainManagerPrivate
All Implemented Interfaces:
ToolchainManager, ToolchainManagerPrivate

@Component(role=ToolchainManagerPrivate.class)
public class DefaultToolchainManagerPrivate
extends DefaultToolchainManager
implements ToolchainManagerPrivate

Author:
mkleint

Field Summary
 
Fields inherited from interface org.apache.maven.toolchain.ToolchainManager
ROLE
 
Constructor Summary
DefaultToolchainManagerPrivate()
           
 
Method Summary
 ToolchainPrivate[] getToolchainsForType(String type, MavenSession context)
          Retrieves the toolchains of given type from the user settings.
 void storeToolchainToBuildContext(ToolchainPrivate toolchain, MavenSession session)
          Stores the toolchain into build context.
 
Methods inherited from class org.apache.maven.toolchain.DefaultToolchainManager
getStorageKey, getToolchainFromBuildContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultToolchainManagerPrivate

public DefaultToolchainManagerPrivate()
Method Detail

getToolchainsForType

public ToolchainPrivate[] getToolchainsForType(String type,
                                               MavenSession context)
                                        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

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


Copyright © 2001-2010 The Apache Software Foundation. All Rights Reserved.