blob: 6799915a65af64e3985ac3754aadd98775b9ea12 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
/*
* VS is (c) 2008 by Paul C. Buetow
* vs@dev.buetow.org
*/
package events.implementations;
import events.VSAbstractEvent;
/**
* The Class VSProcessRecoverEvent.
*/
public class VSProcessRecoverEvent extends VSAbstractEvent {
private static final long serialVersionUID = 1L;
/* (non-Javadoc)
* @see events.VSAbstractEvent#onInit()
*/
public void onInit() {
setClassname(getClass().toString());
}
/* (non-Javadoc)
* @see events.VSAbstractEvent#onStart()
*/
public boolean onStart() {
if (process.isCrashed()) {
process.isCrashed(false);
logg(prefs.getString("lang.recovered"));
}
return true;
}
}
|