org.xnap.commons.io
Interface Job<T>


public interface Job<T>

Defines the requirements for tasks that run asynchronously and need to provide user interaction through a ProgressMonitor.

Author:
Steffen Pingel

Method Summary
 T run(ProgressMonitor monitor)
          Carries out a task thereby notifying the monitor of its current progress.
 

Method Detail

run

T run(ProgressMonitor monitor)
      throws Exception
Carries out a task thereby notifying the monitor of its current progress.

Returns:
the result of the operation
Throws:
Exception


Copyright © 2004-2007 XNap Commons Team. All Rights Reserved.