站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > NetBeans API Javadoc (Current Development Version)

CancellableTask (Java Source) - NetBeans API Javadoc (Current Development Version)

org.netbeans.modules.java.source 0.13.0 1

org.netbeans.api.java.source
Interface CancellableTask<P>


public interface CancellableTask<P>

Cancellable runnable which takes parameter of given type.


Method Summary
 void cancel()
          After this method is called the task if running should exit the run method immediately.
 void run(P parameter)
          Implement the functionality here.
 

Method Detail

cancel

void cancel()
After this method is called the task if running should exit the run method immediately.


run

void run(P parameter)
         throws Exception
Implement the functionality here.

Parameters:
parameter - Parameter depending on the context or null.
Throws:
Exception

org.netbeans.modules.java.source 0.13.0 1

Built on May 28 2007.  |  Portions Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.