Interface JobRule


@RuleType(name="nuclos.ruletype.jobrule.name", description="nuclos.ruletype.jobrule.description") public interface JobRule
JobRule is the interface that should be used to make an rule applicable for Job-Events.

Classes implementing this interface can be attached to jobs. In case of an Job-Event the method execute.

Author:
Matthias Reichart
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    JobContext is the context providing all attributes and methods that are relevant for Job-operations.
  • Method Details

    • execute

      void execute(JobContext context) throws BusinessException
      JobContext is the context providing all attributes and methods that are relevant for Job-operations.

      To get SessionIds the method getSessionId() can be called.

      Parameters:
      context -
      Throws:
      BusinessException