Package org.nuclos.api.rule
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 TypeMethodDescriptionvoid
execute
(JobContext context) JobContext
is the context providing all attributes and methods that are relevant for Job-operations.
-
Method Details
-
execute
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
-