Class ServiceResult

java.lang.Object
com.aquima.interactions.portal.ServiceResult
All Implemented Interfaces:
IServiceResult

public class ServiceResult extends Object implements 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 Details

    • ServiceResult

      public ServiceResult()
      Default constructor that creates a service result with an empty event (null).
    • ServiceResult

      public ServiceResult(String eventName)
      Constructor to create a service result with a specified event.
      Parameters:
      eventName - The event for the service result.
  • Method Details

    • getEvent

      public String getEvent()
      Description copied from interface: IServiceResult
      This method should return the resulting event of the service call.
      Specified by:
      getEvent in interface IServiceResult
      Returns:
      The event, may be null.