Details
-
Sub-task
-
Resolution: Done
-
Major
-
4.3.0.Alpha1
Description
Validation rules for job xml
1. Attribute 'ref' should refer by name to existing type that implements batch artifact interface assumed by the parent xml element.
2. Attribute 'properties/property/@name' either refers by batch property name a field in Java type for the batch artifact, or it is used by 'properties/property/@value' through substitution #{jobProperties['%name%']} . Validation will set warning markers for unused properties and error markers for substitution calling an unknown name.
3. Attributes 'step/@next', 'split/@next', 'flow/@next', 'flow/next/@to', 'step/next/@to', should refer to id of step | split | flow | decision at the same level as the current execution element. Values @id of execution elements should be unique within the same level where they can transit one to another.
4. Attributes 'flow/stop/@restart', 'step/stop/@restart' should refer to id of step | split | flow | decision at the job level.
5. Sequence of execution elements defined by @next and @to should not loop.
6. Value of attribute 'include/@class' and 'exclude/@class' is qualified name of an exception class.
Attachments
Issue Links
- is related to
-
JBIDE-19269 Batch validation problem QuickFix is not shown in the editor
- Closed