public class TamperEvent
extends org.osgi.service.event.Event
TamperEvent
are the following:
TamperStatus
instance representing the new status.Modifier and Type | Field and Description |
---|---|
static java.lang.String |
SENDER_PID_PROPERTY_KEY
The key of a Event property containing the kura.service.pid of the sender
TamperDetectionService |
static java.lang.String |
TAMPER_EVENT_TOPIC
The EventAdmin topic of this event.
|
static java.lang.String |
TAMPER_STATUS_PROPERTY_KEY
The key of a Event property containing the new
TamperStatus |
Constructor and Description |
---|
TamperEvent(java.lang.String tamperDetectionServicePid,
TamperStatus tamperStatus)
Creates a new
TamperEvent instance. |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getSenderPid()
Returns the kura.service.pid of the sender
TamperDetectionService . |
TamperStatus |
getTamperStatus()
Returns the new
TamperStatus . |
public static final java.lang.String TAMPER_EVENT_TOPIC
public static final java.lang.String TAMPER_STATUS_PROPERTY_KEY
TamperStatus
public static final java.lang.String SENDER_PID_PROPERTY_KEY
TamperDetectionService
public TamperEvent(java.lang.String tamperDetectionServicePid, TamperStatus tamperStatus)
TamperEvent
instance.tamperDetectionKuraServicePid
- the kura.service.pid of the sender TamperDetectionService
.tamperStatus
- the new TamperStatus
, cannot be null
.public TamperStatus getTamperStatus()
TamperStatus
.TamperStatus
, cannot be null
.public java.lang.String getSenderPid()
TamperDetectionService
.TamperDetectionService
.