Class DefaultLegacyToggles
java.lang.Object
com.aquima.interactions.config.legacy.DefaultLegacyToggles
- All Implemented Interfaces:
ILegacyToggles
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
Indicates that the legacy behaviour of executing datamapping when cancelling a task is enabledboolean
Indicates whether field validations are verified for REST responses.
-
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 interfaceILegacyToggles
- 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 interfaceILegacyToggles
- Returns:
- true if the legacy behavior is enabled otherwise false
-