public class RuntimeServiceEvent extends Object
The following event types are defined:
RUNTIME_ABOUT_TO_START Sent before starting the runtime
 RUNTIME_STARTED Sent after the runtime was started
 RUNTIME_ABOUT_TO_STOP Sent before stopping the runtime
 RUNTIME_STOPPED Sent after the runtime stopped
 | Modifier and Type | Field and Description | 
|---|---|
int | 
id
The event id. 
 | 
RuntimeService | 
runtime  | 
static int | 
RUNTIME_ABOUT_TO_START  | 
static int | 
RUNTIME_ABOUT_TO_STOP  | 
static int | 
RUNTIME_STARTED  | 
static int | 
RUNTIME_STOPPED  | 
| Constructor and Description | 
|---|
RuntimeServiceEvent(int id,
                   RuntimeService runtime)  | 
| Modifier and Type | Method and Description | 
|---|---|
boolean | 
equals(Object obj)  | 
String | 
getEventName()
Gets the event name as a string. 
 | 
int | 
hashCode()  | 
String | 
toString()  | 
public static final int RUNTIME_ABOUT_TO_START
public static final int RUNTIME_STARTED
public static final int RUNTIME_ABOUT_TO_STOP
public static final int RUNTIME_STOPPED
public final int id
public final RuntimeService runtime
public RuntimeServiceEvent(int id, RuntimeService runtime)
public final String getEventName()
Copyright © 2019 Nuxeo. All rights reserved.