Interface ILegacyToggles

All Known Implementing Classes:
DefaultLegacyToggles

public interface ILegacyToggles
Legacy properties that will be available for one major version and are immediately deprecated from the moment of introduction
Since:
11.0
Author:
Mihai Bob
  • Method Details

    • isExecuteDatamappingOnCancelTask

      @Deprecated boolean isExecuteDatamappingOnCancelTask()
      Deprecated.
      Legacy toggle expected to be removed in DCM2
      Indicates that the legacy behaviour of executing datamapping when cancelling a task is enabled
      Returns:
      true if the legacy behavior is enabled otherwise false
    • isLegacyRestResponseValidation

      @Deprecated boolean isLegacyRestResponseValidation()
      Deprecated.
      Expected to be removed in R18
      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.
      Returns:
      true if the legacy behavior is enabled otherwise false