Class InitializationTask
- java.lang.Object
-
- org.openstreetmap.josm.spi.lifecycle.InitializationTask
-
- All Implemented Interfaces:
java.util.concurrent.Callable<java.lang.Void>
public final class InitializationTask extends java.lang.Object implements java.util.concurrent.Callable<java.lang.Void>
Initialization task notifying the current lifecycleInitStatusListener
.- Since:
- 14125
-
-
Constructor Summary
Constructors Constructor Description InitializationTask(java.lang.String name, java.lang.Runnable task)
Constructs a newInitializationTask
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Void
call()
-
-
-
Constructor Detail
-
InitializationTask
public InitializationTask(java.lang.String name, java.lang.Runnable task)
Constructs a newInitializationTask
.- Parameters:
name
- translated name to be displayed to usertask
- runnable initialization task
-
-
Method Detail
-
call
public java.lang.Void call()
- Specified by:
call
in interfacejava.util.concurrent.Callable<java.lang.Void>
-
-