Package org.eclipse.pde.core.target
Interface ITargetHandle
public interface ITargetHandle
A handle to a target definition.
- Since:
- 3.8
-
Method Summary
Modifier and TypeMethodDescriptionboolean
exists()
Returns whether or not the underlying target definition exists.Returns a memento for this handle.Returns the target definition this handle references.
-
Method Details
-
getTargetDefinition
Returns the target definition this handle references.- Returns:
- target definition
- Throws:
CoreException
- if the underlying target definition does not exist
-
getMemento
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
-