public interface ILaunchConfigurationMigrationDelegate
launchConfigurationType
extension and is responsible for identifying
migration candidates and migrating launch configurations of that type.
For example, since 3.2 launch configurations may have resources mapped to them. A migration delegate could assign appropriate resources to a launch configuration create in an earlier version.
Clients may implement this interface.
Modifier and Type | Method and Description |
---|---|
boolean |
isCandidate(ILaunchConfiguration candidate)
Returns whether the given launch configuration requires migration.
|
void |
migrate(ILaunchConfiguration candidate)
Migrates the given launch configuration to be compatible with the current tooling.
|
boolean isCandidate(ILaunchConfiguration candidate) throws CoreException
candidate
- potential migration candidateCoreException
- if an exception occurs determining the status of the
given configurationvoid migrate(ILaunchConfiguration candidate) throws CoreException
candidate
- the candidate to be migrated, which can be a launch configuration
or working copyCoreException
- if an exception occurs during migration
Copyright (c) 2000, 2014 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.