Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Eclipse Platform Release 3.0
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.eclipse.debug.core.model
Interface ITerminate

All Known Subinterfaces:
  IDebugTarget, ILaunch, IProcess, IStackFrame, IThread

All Known Implementing Classes:
  Launch, RuntimeProcess

public interface ITerminate

Provides the ability to terminate an execution context - for example, a thread, debug target or process.

Clients may implement this interface.

Method Summary
`boolean` | `canTerminate()` Returns whether this element can be terminated.
`boolean` | `isTerminated()` Returns whether this element is terminated.
`void` | `terminate()` Causes this element to terminate, generating a `TERMINATE` event.

Method Detail

### canTerminate

    public boolean canTerminate()

  Returns whether this element can be terminated.

  Returns:
    whether this element can be terminated

### isTerminated

    public boolean isTerminated()

  Returns whether this element is terminated.

  Returns:
    whether this element is terminated

### terminate

    public void terminate()
                   throws DebugException

  Causes this element to terminate, generating a `TERMINATE` event. Implementations may be blocking or non-blocking.

  Throws:
    `DebugException` - on failure. Reasons include:
    - TARGET_REQUEST_FAILED - The request failed in the target
    - NOT_SUPPORTED - The capability is not supported by the target

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Eclipse Platform Release 3.0
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Guidelines for using Eclipse APIs.

Copyright (c) IBM Corp. and others 2000, 2004. All rights reserved.