BATCH-1179: Make sure inline steps have parent= attribute.
This commit is contained in:
@@ -38,9 +38,9 @@
|
||||
|
||||
<programlisting>
|
||||
<job id="footballJob">
|
||||
<step id="playerload" next="gameLoad"/>
|
||||
<step id="gameLoad" next="playerSummarization"/>
|
||||
<step id="playerSummarization"/>
|
||||
<step id="playerload" parent="s1" next="gameLoad"/>
|
||||
<step id="gameLoad" parent="s2" next="playerSummarization"/>
|
||||
<step id="playerSummarization" parent="s3"/>
|
||||
</job>
|
||||
|
||||
</programlisting>
|
||||
@@ -51,9 +51,9 @@
|
||||
|
||||
<programlisting>
|
||||
<job id="footballJob" <emphasis role="bold">job-repository="specialRepository"</emphasis>>
|
||||
<step id="playerload" next="gameLoad"/>
|
||||
<step id="gameLoad" next="playerSummarization"/>
|
||||
<step id="playerSummarization"/>
|
||||
<step id="playerload" parent="s1" next="gameLoad"/>
|
||||
<step id="gameLoad" parent="s3" next="playerSummarization"/>
|
||||
<step id="playerSummarization" parent="s3"/>
|
||||
</job>
|
||||
|
||||
</programlisting>
|
||||
@@ -81,9 +81,9 @@
|
||||
|
||||
<programlisting>
|
||||
<job id="footballJob" <emphasis role="bold">restartable="false"</emphasis>>
|
||||
<step id="playerload" next="gameLoad"/>
|
||||
<step id="gameLoad" next="playerSummarization"/>
|
||||
<step id="playerSummarization"/>
|
||||
<step id="playerload" parent="s1" next="gameLoad"/>
|
||||
<step id="gameLoad" parent="s2" next="playerSummarization"/>
|
||||
<step id="playerSummarization" parent="s3"/>
|
||||
</job>
|
||||
|
||||
</programlisting>
|
||||
@@ -144,9 +144,9 @@
|
||||
|
||||
<programlisting>
|
||||
<job id="footballJob">
|
||||
<step id="playerload" next="gameLoad"/>
|
||||
<step id="gameLoad" next="playerSummarization"/>
|
||||
<step id="playerSummarization"/>
|
||||
<step id="playerload" parent="s1" next="gameLoad"/>
|
||||
<step id="gameLoad" parent="s2" next="playerSummarization"/>
|
||||
<step id="playerSummarization" parent="s3"/>
|
||||
<listeners>
|
||||
<listener class="org.springframework.batch.sample.SampleListener"/>
|
||||
</listeners>
|
||||
@@ -180,7 +180,7 @@
|
||||
<classname>Job</classname> from which the concrete
|
||||
<classname>Job</classname>s may inherit properties. Similar to class
|
||||
inheritance in Java, the "child" <classname>Job</classname> will combine
|
||||
its elements and attributes with the parent's. </para>
|
||||
its elements and attributes with the parent's.</para>
|
||||
|
||||
<para>In the following example, "baseJob" is an abstract
|
||||
<classname>Job</classname> definition that defines only a list of
|
||||
@@ -198,7 +198,7 @@
|
||||
</job>
|
||||
|
||||
<job id="job1" parent="baseJob3">
|
||||
<step id="step1" ref="standaloneStep"/>
|
||||
<step id="step1" parent="standaloneStep"/>
|
||||
|
||||
<listeners merge="true">
|
||||
<listener class="com.ListenerTwo"/>
|
||||
@@ -209,7 +209,7 @@
|
||||
|
||||
<para>Please see the section on <link
|
||||
linkend="InheritingFromParentStep">Inheriting from a Parent Step</link>
|
||||
for more detailed information. </para>
|
||||
for more detailed information.</para>
|
||||
</section>
|
||||
|
||||
<section>
|
||||
@@ -940,9 +940,9 @@
|
||||
|
||||
<programlisting>
|
||||
<job id="footballJob" <emphasis role="bold">incrementer="sampleIncrementer"</emphasis>>
|
||||
<step id="playerload" next="gameLoad"/>
|
||||
<step id="gameLoad" next="playerSummarization"/>
|
||||
<step id="playerSummarization"/>
|
||||
<step id="playerload" parent="s1" next="gameLoad"/>
|
||||
<step id="gameLoad" parent="s2" next="playerSummarization"/>
|
||||
<step id="playerSummarization" parent="s3"/>
|
||||
</job>
|
||||
|
||||
</programlisting>
|
||||
|
||||
Reference in New Issue
Block a user