@Named @Singleton public class DefaultToolchainManager extends Object implements ToolchainManager
Constructor and Description |
---|
DefaultToolchainManager(DefaultToolchainManagerPrivate toolchainManagerPrivate) |
Modifier and Type | Method and Description |
---|---|
Optional<Toolchain> |
getToolchainFromBuildContext(Session session,
String type) |
List<Toolchain> |
getToolchains(Session session,
String type,
Map<String,String> requirements) |
List<Toolchain> |
getToolchainsForType(Session session,
String type) |
void |
storeToolchainToBuildContext(Session session,
Toolchain toolchain) |
@Inject public DefaultToolchainManager(DefaultToolchainManagerPrivate toolchainManagerPrivate)
public List<Toolchain> getToolchains(Session session, String type, Map<String,String> requirements) throws ToolchainManagerException
getToolchains
in interface ToolchainManager
ToolchainManagerException
public Optional<Toolchain> getToolchainFromBuildContext(Session session, String type) throws ToolchainManagerException
getToolchainFromBuildContext
in interface ToolchainManager
ToolchainManagerException
public List<Toolchain> getToolchainsForType(Session session, String type) throws ToolchainManagerException
getToolchainsForType
in interface ToolchainManager
ToolchainManagerException
public void storeToolchainToBuildContext(Session session, Toolchain toolchain) throws ToolchainManagerException
storeToolchainToBuildContext
in interface ToolchainManager
ToolchainManagerException
Copyright © 2001–2022 The Apache Software Foundation. All rights reserved.