Package org.eclipse.pde.core.target
Interface ITargetHandle
-
public interface ITargetHandleA handle to a target definition.- Since:
- 3.8
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanexists()Returns whether or not the underlying target definition exists.StringgetMemento()Returns a memento for this handle.ITargetDefinitiongetTargetDefinition()Returns the target definition this handle references.
-
-
-
Method Detail
-
getTargetDefinition
ITargetDefinition getTargetDefinition() throws CoreException
Returns the target definition this handle references.- Returns:
- target definition
- Throws:
CoreException- if the underlying target definition does not exist
-
getMemento
String getMemento() throws CoreException
Returns a memento for this handle.- Returns:
- a memento for this handle
- Throws:
CoreException- if unable to generate a memento
-
exists
boolean exists()
Returns whether or not the underlying target definition exists.- Returns:
- whether or not the underlying target definition exists
-
-