[jbosstools-issues] [JBoss JIRA] (JBIDE-19158) Batch Validation

Viacheslav Kabanovich (JIRA) issues at jboss.org
Tue Feb 3 17:22:49 EST 2015


     [ https://issues.jboss.org/browse/JBIDE-19158?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Viacheslav Kabanovich updated JBIDE-19158:
------------------------------------------
    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' should refer by batch property name a field in Java type for the batch artifact. Batch runtime ignores properties that do not match Java fields, so that validation should only set warning markers.
3. Attributes 'step/@next', 'split/@next', 'flow/@next', 'flow/next/@to', 'step/next/@to', 'flow/stop/@restart', 'step/stop/@restart' should refer to id of step | split | flow | decision at the same level as the current flow element.
4. Sequence of flow elements defined by @next and @to should not loop.


> Batch Validation
> ----------------
>
>                 Key: JBIDE-19158
>                 URL: https://issues.jboss.org/browse/JBIDE-19158
>             Project: Tools (JBoss Tools)
>          Issue Type: Sub-task
>          Components: batch
>    Affects Versions: 4.3.0.Alpha1
>            Reporter: Viacheslav Kabanovich
>            Assignee: Viacheslav Kabanovich
>              Labels: new_and_noteworthy
>             Fix For: 4.3.0.Alpha1
>
>
> 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' should refer by batch property name a field in Java type for the batch artifact. Batch runtime ignores properties that do not match Java fields, so that validation should only set warning markers.
> 3. Attributes 'step/@next', 'split/@next', 'flow/@next', 'flow/next/@to', 'step/next/@to', 'flow/stop/@restart', 'step/stop/@restart' should refer to id of step | split | flow | decision at the same level as the current flow element.
> 4. Sequence of flow elements defined by @next and @to should not loop.



--
This message was sent by Atlassian JIRA
(v6.3.11#6341)


More information about the jbosstools-issues mailing list