Class DefaultToolchainProvider

    • Method Detail

      • isToolchainPresent

        public boolean isToolchainPresent​(String toolchainName,
                                          TargetConfiguration toolchainTargetConfiguration)
        Returns:
        true if toolchain exists (triggering instantiation if needed)
      • isToolchainCreated

        public boolean isToolchainCreated​(String toolchainName,
                                          TargetConfiguration toolchainTargetConfiguration)
        Returns:
        true if toolchain has already been created (without triggering instantiation)
      • isToolchainFailed

        public boolean isToolchainFailed​(String toolchainName,
                                         TargetConfiguration toolchainTargetConfiguration)
        Returns:
        true if toolchain failed to instantiate (without triggering instantiation)
      • getToolchainsWithCapability

        public <T extends ToolchainWithCapabilityCollection<String> getToolchainsWithCapability​(Class<T> capability)
        Description copied from interface: ToolchainProvider
        Provides access to all known toolchains that support the provided capability.

        The toolchains are not created during the execution of this method.

        Returns:
        a collection of toolchain names that support the provided capability.