Class BusinessRulesHelper

java.lang.Object
wt.businessRules.BusinessRulesHelper

public class BusinessRulesHelper extends Object
Helper for the business rules service

Supported API: true

Extendable: false
  • Field Details

    • engine

      public static final BusinessRulesEngine engine
      Gets the business rules engine

      Supported API: true
  • Method Details

    • serialize

      public static String serialize(RuleValidationResultSet resultSet) throws IOException
      Converts the RuleValidationResultSet object into a String using Base64 encoding

      Supported API: true

      Parameters:
      resultSet -
      Returns:
      String representation of RuleValidationResultSet
      Throws:
      IOException
    • deserialize

      public static RuleValidationResultSet deserialize(String resultSet)
      Converts the String into a RuleValidationResultSet object using base64 decoding.

      Supported API: true

      Parameters:
      resultSet -
      Returns:
      RuleValidationResultSet from String representation.
      Throws:
      Exception - the Exception