blob: 75891de19f5206de1bf545c3dffb9d559896ff3c (
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
33
34
35
36
37
38
39
40
41
42
43
44
45
|
/*******************************************************************************
* Copyright (c) 2008, 2011 IBM Corporation 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:
* IBM Corporation - initial API and implementation
*******************************************************************************/
package org.eclipse.pde.core.target;
import org.eclipse.core.runtime.CoreException;
/**
* A handle to a target definition.
*
* @since 3.8
*/
public interface ITargetHandle {
/**
* Returns the target definition this handle references.
*
* @return target definition
* @throws CoreException if the underlying target definition does not exist
*/
public ITargetDefinition getTargetDefinition() throws CoreException;
/**
* Returns a memento for this handle.
*
* @return a memento for this handle
* @exception CoreException if unable to generate a memento
*/
public String getMemento() throws CoreException;
/**
* Returns whether or not the underlying target definition exists.
*
* @return whether or not the underlying target definition exists
*/
public boolean exists();
}
|