Eclipse PDE
Release 3.8

org.eclipse.pde.core.target
Interface ITargetHandle


public interface ITargetHandle

A handle to a target definition.

Since:
3.8

Method Summary
 boolean exists()
          Returns whether or not the underlying target definition exists.
 String getMemento()
          Returns a memento for this handle.
 ITargetDefinition getTargetDefinition()
          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

Eclipse PDE
Release 3.8

Guidelines for using Eclipse APIs.

Copyright (c) 2000, 2013 IBM Corporation and others. All rights reserved.