public abstract class AbstractServiceEvent extends AbstractEvent implements ServiceEvent
ServiceEvent.Typedata, origin| Constructor and Description |
|---|
AbstractServiceEvent(java.lang.String origin,
java.lang.String service,
java.lang.String operation)
Constructor for a ServiceEvent
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getOperation()
Get the operation name
|
java.lang.String |
getService()
Get the service name
|
abstract ServiceEvent.Type |
getType()
Get the type of this ServiceEvent
|
getData, getOrigin, withDatapublic AbstractServiceEvent(java.lang.String origin,
java.lang.String service,
java.lang.String operation)
origin - the origin of this event e.g. 'Web' or 'gRPC'service - the service name e.g. WeatherServiceoperation - the operation name e.g getWeatherpublic java.lang.String getService()
getService in interface ServiceEventpublic java.lang.String getOperation()
getOperation in interface ServiceEventpublic abstract ServiceEvent.Type getType()
getType in interface ServiceEvent