Class RuleWorker

    • Field Detail

      • ruleObject

        protected transient sailpoint.object.Rule ruleObject
        The cached rule object (if that constructor is used)
    • Constructor Detail

      • RuleWorker

        public RuleWorker()
        Used by the Serializable interface to begin deserialization
      • RuleWorker

        public RuleWorker​(String ruleName,
                          Map<String,​Object> arguments)
        Constructor
        Parameters:
        ruleName - The rule name
        arguments - The rule arguments
      • RuleWorker

        public RuleWorker​(sailpoint.object.Rule theRule,
                          Map<String,​Object> arguments)
        Constructor
        Parameters:
        theRule - The rule object
        arguments - The rule arguments
    • Method Detail

      • execute

        public Object execute​(sailpoint.api.SailPointContext threadContext,
                              org.apache.commons.logging.Log logger)
                       throws Exception
        Executes the Rule using the arguments provided and the provided thread context.
        Specified by:
        execute in class SailPointWorker
        Parameters:
        threadContext - The private context to use for this thread worker
        logger - The log attached to this Worker
        Returns:
        The result of the rule execution (usually ignored)
        Throws:
        Exception - if anything goes wrong