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.update.operations
Interface IOperationListener

All Known Implementing Classes:
  ScriptedCommand

public interface IOperationListener

Listener for the operation lifecycle. This allows listeners to execute certain code before an operation starts, or after it completes.

Note: This class/interface is part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.

Since:
  3.0

Method Summary
`boolean` | `afterExecute(IOperation operation, Object data)` May be called after an operation finishes executing.
`boolean` | `beforeExecute(IOperation operation, Object data)` May be called before an operation starts executing.

Method Detail

### beforeExecute

    public boolean beforeExecute(IOperation operation,
                                 Object data)

  May be called before an operation starts executing.

  Parameters:
    `operation` - operation to listen to
    `data` - info specific to the operation
  Returns:
    not used

### afterExecute

    public boolean afterExecute(IOperation operation,
                                Object data)

  May be called after an operation finishes executing.

  Parameters:
    `operation` - operation to listen to
    `data` - info specific to the operation
  Returns:
    not used

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.