public interface IToolChainManager
Modifier and Type | Method and Description |
---|---|
void |
addToolChain(IToolChain toolChain)
Add a toolchain.
|
void |
addToolChainListener(org.eclipse.core.runtime.ISafeRunnable listener)
Add a listener for toolchains added or removed.
|
Collection<IToolChain> |
getAllToolChains()
Return all of the toolchains.
|
IToolChainProvider |
getProvider(String providerId)
Return the provider with the given id
|
IToolChain |
getToolChain(String typeId,
String id)
Return the toolChain with the given type and id.
|
default IToolChain |
getToolChain(String providerId,
String id,
String version)
Deprecated.
version is now irrelevant. id's are unique.
|
default Collection<IToolChain> |
getToolChains(String providerId)
Deprecated.
we no longer organize toolchains by provider id.
|
default Collection<IToolChain> |
getToolChains(String providerId,
String id)
Deprecated.
toolchains no longer have multiple versions per id
|
Collection<IToolChain> |
getToolChainsMatching(Map<String,String> properties)
Returns the list of toolchains that have the given properties.
|
String |
getToolChainTypeName(String typeId)
Return the UI label for the toolchain type.
|
void |
removeToolChain(IToolChain toolChain)
Remove a toolchain
|
void |
removeToolChainListener(org.eclipse.core.runtime.ISafeRunnable listener)
Remove a listener.
|
void |
setToolChainOrder(List<IToolChain> orderedToolchains)
Set the preference order of the toolchains.
|
IToolChainProvider getProvider(String providerId) throws org.eclipse.core.runtime.CoreException
providerId
- idorg.eclipse.core.runtime.CoreException
String getToolChainTypeName(String typeId)
typeId
- type toolchain type id@Deprecated default IToolChain getToolChain(String providerId, String id, String version) throws org.eclipse.core.runtime.CoreException
providerId
- id of providerid
- id of toolchainversion
- version of toolchainorg.eclipse.core.runtime.CoreException
IToolChain getToolChain(String typeId, String id) throws org.eclipse.core.runtime.CoreException
typeId
- id of toolchain typeid
- id of toolchainorg.eclipse.core.runtime.CoreException
@Deprecated default Collection<IToolChain> getToolChains(String providerId) throws org.eclipse.core.runtime.CoreException
providerId
- id of providerorg.eclipse.core.runtime.CoreException
@Deprecated default Collection<IToolChain> getToolChains(String providerId, String id) throws org.eclipse.core.runtime.CoreException
providerId
- id of providerid
- id of toolchainsorg.eclipse.core.runtime.CoreException
Collection<IToolChain> getToolChainsMatching(Map<String,String> properties) throws org.eclipse.core.runtime.CoreException
properties
- properties of the toolchainsorg.eclipse.core.runtime.CoreException
Collection<IToolChain> getAllToolChains() throws org.eclipse.core.runtime.CoreException
org.eclipse.core.runtime.CoreException
void setToolChainOrder(List<IToolChain> orderedToolchains) throws org.eclipse.core.runtime.CoreException
orderedToolchains
- org.eclipse.core.runtime.CoreException
void addToolChain(IToolChain toolChain)
toolChain
- the toolchainvoid removeToolChain(IToolChain toolChain)
toolChain
- the toolchainvoid addToolChainListener(org.eclipse.core.runtime.ISafeRunnable listener)
listener
- runnable that is called when a toolchain is added or removedvoid removeToolChainListener(org.eclipse.core.runtime.ISafeRunnable listener)
listener
- the listener to removeCopyright (c) IBM Corp. and others 2004, 2020. All Rights Reserved.