Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: 19e1a32afa3309c9baa0b9807ef046ec1a6dc915 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
/*******************************************************************************
 * Copyright (c) 2012, 2014 Wind River Systems, Inc. and others. All rights reserved.
 * This program and the accompanying materials are made available under the terms
 * of the Eclipse Public License v1.0 which accompanies this distribution, and is
 * available at http://www.eclipse.org/legal/epl-v10.html
 *
 * Contributors:
 * Wind River Systems - initial API and implementation
 *******************************************************************************/
package org.eclipse.tcf.te.launch.core.bindings.interfaces;


/**
 * Interface to be implemented by a launch configuration type binding element.
 */
public interface ILaunchBinding {

	/**
	 * Returns the id of the bound element.
	 */
	public String getId();

	/**
	 * Returns if or if not the given launch mode is handled by this binding.
	 * <p>
	 * <b>Note:</b> The launch mode is considered valid if <code>null</code> or an empty string is passed.
	 *
	 * @param mode The launch mode or <code>null</code>.
	 * @return <code>True</code> if the launch mode is valid, <code>false</code> otherwise.
	 */
	public boolean isValidLaunchMode(String mode);
}

Back to the top