[
https://issues.jboss.org/browse/JBIDE-19267?page=com.atlassian.jira.plugi...
]
Daniel Azarov updated JBIDE-19267:
----------------------------------
Description:
1. Attribute \@ref - open java class.
a) Collection<IBatchArtifact> a = IBatchProject.getArtifacts(String name); where
%name% is the attribute value.
b)IType t = IBatchArtifact.getType();
It is an error if the collection has more than one element, but open-on may show list of
options.
2. Attribute \@next - open \@id by value. Look only among siblings of owner element of
\@next.
3. Attribute \@to - open @id by value. Look only among children of the grandparent of the
owner element of @to.
4. Attribute \@restart - open @id by value. Look only among children of root element
<job>.
5. Attribute properties/property/\@name - open java field.
a) Take parent of properties element and take its \@ref attribute.
b) Collection<IBatchArtifact> a = IBatchProject.getArtifacts(String name); where
%name% is the attribute \@ref value.
c) IBatchProperty p = IBatchArtifact.getProperty(String name); where %name% is the
attribute \@name value.
d) IField f = IBatchProperty.getFiled();
6. Attribute properties/property/@value, when its value contains substring(s)
\#{jobProperties['%propertyName%']} - open properties/property/\@name with
attribute value equal to %propertyName%.
Matching property should be looked for as follows:
a) try sibling 'property' elements.
b) move to the grandparent of 'properties' element and starting with it and then
moving up by parent elements, take 'properties' child, and try its property
children. As soon as a matching property is found, no other parent elements should be
scanned (if they have matching properties, they are overridden by the most inner
property).
was:
1. Attribute \@ref - open java class.
a) Collection<IBatchArtifact> a = IBatchProject.getArtifacts(String name); where
%name% is the attribute value.
b)IType t = IBatchArtifact.getType();
It is an error if the collection has more than one element, but open-on may show list of
options.
2. Attribute \@next - open \@id by value. Look only among siblings of owner element of
\@next.
3. Attribute \@to - open @id by value. Look only among children of the grandparent of the
owner element of @to.
4. Attribute \@restart - open @id by value. Look only among children of root element
<job>.
5. Attribute \@class - open java class, its name given by attribute's value.
6. Attribute properties/property/\@name - open java field.
a) Take parent of properties element and take its \@ref attribute.
b) Collection<IBatchArtifact> a = IBatchProject.getArtifacts(String name); where
%name% is the attribute \@ref value.
c) IBatchProperty p = IBatchArtifact.getProperty(String name); where %name% is the
attribute \@name value.
d) IField f = IBatchProperty.getFiled();
7. Attribute properties/property/@value, when its value contains substring(s)
\#{jobProperties['%propertyName%']} - open properties/property/\@name with
attribute value equal to %propertyName%.
Matching property should be looked for as follows:
a) try sibling 'property' elements.
b) move to the grandparent of 'properties' element and starting with it and then
moving up by parent elements, take 'properties' child, and try its property
children. As soon as a matching property is found, no other parent elements should be
scanned (if they have matching properties, they are overridden by the most inner
property).
OpenOns for batch artifacts
---------------------------
Key: JBIDE-19267
URL:
https://issues.jboss.org/browse/JBIDE-19267
Project: Tools (JBoss Tools)
Issue Type: Sub-task
Components: batch
Reporter: Alexey Kazakov
Assignee: Daniel Azarov
Labels: new_and_noteworthy
Fix For: 4.3.0.Alpha2
1. Attribute \@ref - open java class.
a) Collection<IBatchArtifact> a = IBatchProject.getArtifacts(String name); where
%name% is the attribute value.
b)IType t = IBatchArtifact.getType();
It is an error if the collection has more than one element, but open-on may show list of
options.
2. Attribute \@next - open \@id by value. Look only among siblings of owner element of
\@next.
3. Attribute \@to - open @id by value. Look only among children of the grandparent of the
owner element of @to.
4. Attribute \@restart - open @id by value. Look only among children of root element
<job>.
5. Attribute properties/property/\@name - open java field.
a) Take parent of properties element and take its \@ref attribute.
b) Collection<IBatchArtifact> a = IBatchProject.getArtifacts(String name); where
%name% is the attribute \@ref value.
c) IBatchProperty p = IBatchArtifact.getProperty(String name); where %name% is the
attribute \@name value.
d) IField f = IBatchProperty.getFiled();
6. Attribute properties/property/@value, when its value contains substring(s)
\#{jobProperties['%propertyName%']} - open properties/property/\@name with
attribute value equal to %propertyName%.
Matching property should be looked for as follows:
a) try sibling 'property' elements.
b) move to the grandparent of 'properties' element and starting with it and then
moving up by parent elements, take 'properties' child, and try its property
children. As soon as a matching property is found, no other parent elements should be
scanned (if they have matching properties, they are overridden by the most inner
property).
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)