|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eclipse.emf.emfstore.client.util.RunESCommand
public final class RunESCommand
Utility class for automatically wrapping changes against a model element in a command within an EMFStore project.
Nested Class Summary | |
---|---|
static class |
RunESCommand.WithException
The Callable to be executed may throw an exception. |
Method Summary | ||
---|---|---|
static void |
run(Callable<Void> callable)
Executes the given Callable and returns the result. |
|
static
|
runWithResult(Callable<T> callable)
Executes the given Callable and returns the result. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static void run(Callable<Void> callable)
Callable
and returns the result.
callable
- the callable to be executedpublic static <T> T runWithResult(Callable<T> callable)
Callable
and returns the result.
T
- the return type of the callablecallable
- the callable to be executed
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |