RepeatStatus no longer contains COMPLETE

FINISHED is the new black.
This commit is contained in:
Tim
2014-02-11 11:49:24 -08:00
committed by Michael Minella
parent f53ef655e4
commit 42544ffc37

View File

@@ -305,7 +305,7 @@ itemWriter.write(items);</programlisting>
successful the first time. An example might be a validation step, or a
<classname>Step</classname> that cleans up resources before
processing. During normal processing of a restarted job, any step with
a status of 'COMPLETED', meaning it has already been completed
a status of 'FINISHED', meaning it has already been completed
successfully, will be skipped. Setting allow-start-if-complete to
"true" overrides this so that the step will always run:</para>
@@ -1071,7 +1071,7 @@ itemWriter.write(items);</programlisting>
files[i].getPath());
}
}
return RepeatStatus.COMPLETED;
return RepeatStatus.FINISHED;
}
public void setDirectoryResource(Resource directory) {