@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.
Modifier and Type | Method and Description |
---|---|
void |
execute(JobContext context)
JobContext is the context providing all attributes and methods that are relevant for Job-operations. |
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.
context
- BusinessException
Copyright © 2024. All rights reserved.