[jbosstools-issues] [JBoss JIRA] (JBIDE-19267) OpenOns for batch artifacts

Viacheslav Kabanovich (JIRA) issues at jboss.org
Fri Feb 13 20:03:49 EST 2015


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

Viacheslav Kabanovich 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 \@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();


  was:
1. Attribute \@ref - open java class.
Take Collection<IBatchArtifact> a = IBatchProject.getArtifacts(String name);
%name% is the attribute value.
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.
First, take parent of properties element and take its \@ref attribute. 
Take Collection<IBatchArtifact> a = IBatchProject.getArtifacts(String name); where %name% is the attribute \@ref value.
Then take IBatchProperty p = IBatchArtifact.getProperty(String name); where %name% is the attribute \@name value.



> 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
>             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 \@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();



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


More information about the jbosstools-issues mailing list