Details
-
Feature Request
-
Status: Closed
-
L3 - Default
-
Resolution: Fixed
-
None
-
None
Description
Incident handler types are String constants currently in impl packages. There are two reasons for moving these constants to an API package:
- the values are already exposed via API: org.camunda.bpm.engine.runtime.Incident#getIncidentType
- Replacing/Extending the default failed job handler is a rather common use case. With public API constants people don't need to adapt their code when the impl class structure changes (as done here: https://github.com/camunda/camunda-bpm-platform/commit/83b91d6a226cac4bc58d10facb776e2eadbac388)