Last change
on this file since 14125 was 14125, checked in by Don-vip, 6 years ago |
see #15229 - extract lifecycle Main classes to a new lifecycle SPI
|
-
Property svn:eol-style
set to
native
|
File size:
500 bytes
|
Line | |
---|
1 | // License: GPL. For details, see LICENSE file.
|
---|
2 | package org.openstreetmap.josm.spi.lifecycle;
|
---|
3 |
|
---|
4 | /**
|
---|
5 | * Initialization task listener.
|
---|
6 | * @since xxx
|
---|
7 | */
|
---|
8 | public interface InitStatusListener {
|
---|
9 |
|
---|
10 | /**
|
---|
11 | * Called when an initialization task updates its status.
|
---|
12 | * @param event task name
|
---|
13 | * @return new status
|
---|
14 | */
|
---|
15 | Object updateStatus(String event);
|
---|
16 |
|
---|
17 | /**
|
---|
18 | * Called when an initialization task completes.
|
---|
19 | * @param status final status
|
---|
20 | */
|
---|
21 | void finish(Object status);
|
---|
22 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.