Class RuleTypeImpl

  • All Implemented Interfaces:
    RuleType, org.springframework.beans.factory.Aware, org.springframework.beans.factory.BeanNameAware

    public class RuleTypeImpl
    extends CommonResourceAbstractBase
    implements RuleType
    Rule type implementation class.
    Author:
    Roy Wetherall
    • Constructor Detail

      • RuleTypeImpl

        public RuleTypeImpl​(List<RuleTrigger> ruleTriggers)
        Constructor
        Parameters:
        ruleTriggers - the rule triggers
    • Method Detail

      • setRuleService

        public void setRuleService​(RuleService ruleService)
        Set the rule service
        Parameters:
        ruleService - the rule service
      • setNodeService

        public void setNodeService​(NodeService nodeService)
        Set the node service
        Parameters:
        nodeService - the node service
      • init

        public void init()
        Rule type initialise method
      • getName

        public String getName()
        Description copied from interface: RuleType
        Get the name of the rule type.

        The name is unique and is used to identify the rule type.

        Specified by:
        getName in interface RuleType
        Returns:
        the name of the rule type
        See Also:
        RuleType.getName()