Class DefaultLegacyToggles

java.lang.Object
com.aquima.interactions.config.legacy.DefaultLegacyToggles
All Implemented Interfaces:
ILegacyToggles

public class DefaultLegacyToggles extends Object implements ILegacyToggles
  • Constructor Details

    • DefaultLegacyToggles

      public DefaultLegacyToggles()
  • Method Details

    • isExecuteDatamappingOnCancelTask

      public boolean isExecuteDatamappingOnCancelTask()
      Description copied from interface: ILegacyToggles
      Indicates that the legacy behaviour of executing datamapping when cancelling a task is enabled
      Specified by:
      isExecuteDatamappingOnCancelTask in interface ILegacyToggles
      Returns:
      true if the legacy behavior is enabled otherwise false
    • isLegacyRestResponseValidation

      public boolean isLegacyRestResponseValidation()
      Description copied from interface: ILegacyToggles
      Indicates whether field validations are verified for REST responses. The new behavior is that a response received by a REST client will be validated according to the field validations, in addition to whether it conforms to the schema contract. Enabling this legacy toggle reverts to the old behavior where only the schema contract was validated, not the field validations.
      Specified by:
      isLegacyRestResponseValidation in interface ILegacyToggles
      Returns:
      true if the legacy behavior is enabled otherwise false