Class FluentFunctionService

    • Constructor Detail

      • FluentFunctionService

        public FluentFunctionService()
    • Method Detail

      • isDeliveryFunction

        public boolean isDeliveryFunction()
        Specified by:
        isDeliveryFunction in interface IFluentFunction
        Returns:
        true if the function is a Delivery Function
      • getErrorType

        public String getErrorType()
        Specified by:
        getErrorType in interface IFluentService
        Returns:
        the service error type to be used to classify the error logging records
      • getMaxDeliveryAttempts

        public Integer getMaxDeliveryAttempts()
        Specified by:
        getMaxDeliveryAttempts in interface IFluentFunction
        Returns:
        the maximum number of times a delivery function should be attempted if an error occurs.
      • setMaxDeliveryAttempts

        public void setMaxDeliveryAttempts​(Integer maxDeliveryAttempts)
        Parameters:
        maxDeliveryAttempts - the maxDeliveryAttempts to set
      • setRetryDelayMins

        public void setRetryDelayMins​(Integer retryDelayMins)
        Parameters:
        retryDelayMins - the retryDelayMins to set
      • isFunctionDisabled

        public boolean isFunctionDisabled()
        Specified by:
        isFunctionDisabled in interface IFluentFunction
        Returns:
        specify whether the function is disabled and should not be executed.
      • setFunctionDisabled

        public void setFunctionDisabled​(Boolean functionDisabled)
        Parameters:
        functionDisabled - specify whether the function is disabled and should not be executed