diff --git a/src/site/docbook/reference/job.xml b/src/site/docbook/reference/job.xml index f08fd26d8..1388fd613 100644 --- a/src/site/docbook/reference/job.xml +++ b/src/site/docbook/reference/job.xml @@ -38,9 +38,9 @@ <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> @@ -51,9 +51,9 @@ <job id="footballJob" job-repository="specialRepository"> - <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> @@ -81,9 +81,9 @@ <job id="footballJob" restartable="false"> - <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> @@ -144,9 +144,9 @@ <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 @@ Job from which the concrete Jobs may inherit properties. Similar to class inheritance in Java, the "child" Job will combine - its elements and attributes with the parent's. + its elements and attributes with the parent's. In the following example, "baseJob" is an abstract Job 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 @@ Please see the section on Inheriting from a Parent Step - for more detailed information. + for more detailed information.
@@ -940,9 +940,9 @@ <job id="footballJob" incrementer="sampleIncrementer"> - <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>