Interface RulePublishRestriction

All Known Implementing Classes:
DefaultRuleRestrictionStrategy

public interface RulePublishRestriction
Defines a strategy that determine the rules can be published or not.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    isAllowedToPublish(String moduleName, int sourceRulesNumber)
    Applies the strategy to determine the rules can be published or not.
  • Method Details

    • isAllowedToPublish

      boolean isAllowedToPublish(String moduleName, int sourceRulesNumber)
      Applies the strategy to determine the rules can be published or not.
      Returns:
      the boolean value of isAllowedToPublish