public abstract class BaseActionRunnable<T>
extends java.lang.Object
| Constructor and Description |
|---|
BaseActionRunnable() |
| Modifier and Type | Method and Description |
|---|---|
abstract RunResult<T> |
execute()
Deprecated.
|
RunResult<T> |
executeSilently()
Deprecated.
|
boolean |
isSilentExecution() |
protected abstract void |
run(Result<T> result) |
public boolean isSilentExecution()
protected abstract void run(Result<T> result) throws java.lang.Throwable
java.lang.Throwable@Deprecated public abstract RunResult<T> execute()
ReadAction.run(ThrowableRunnable)
or WriteAction.run(ThrowableRunnable)
or WriteCommandAction.runWriteCommandAction(Project, Runnable)
or similar@Deprecated public final RunResult<T> executeSilently()
ReadAction.run(ThrowableRunnable) or WriteAction.run(ThrowableRunnable) insteadexecute(), but does not log an error if an exception occurs.