Package com.aquima.interactions.portal
Class ServiceResult
java.lang.Object
com.aquima.interactions.portal.ServiceResult
- All Implemented Interfaces:
IServiceResult
This service result implementation can be used to return a default service result. The default service result returns
"default" as event.
- Since:
- 7.0
- Author:
- Jon van Leuven
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor that creates a service result with an empty event (null).ServiceResult
(String eventName) Constructor to create a service result with a specified event. -
Method Summary
-
Constructor Details
-
ServiceResult
public ServiceResult()Default constructor that creates a service result with an empty event (null). -
ServiceResult
Constructor to create a service result with a specified event.- Parameters:
eventName
- The event for the service result.
-
-
Method Details
-
getEvent
Description copied from interface:IServiceResult
This method should return the resulting event of the service call.- Specified by:
getEvent
in interfaceIServiceResult
- Returns:
- The event, may be null.
-