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

Viacheslav Kabanovich (JIRA) issues at jboss.org
Mon Feb 9 20:43: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' 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', 'flow/stop/@restart', 'step/stop/@restart' 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. Sequence of execution elements defined by @next and @to should not loop.
5. Value of attribute 'include/@class' and 'exclude/@class' is qualified name of an exception class.

  was:
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', 'flow/stop/@restart', 'step/stop/@restart' 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. Sequence of execution 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' 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', 'flow/stop/@restart', 'step/stop/@restart' 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. Sequence of execution elements defined by @next and @to should not loop.
> 5. Value of attribute 'include/@class' and 'exclude/@class' is qualified name of an exception class.



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


More information about the jbosstools-issues mailing list