OPEN - issue BATCH-339: ItemStream.mark() and reset() should throw a checked exception
http://jira.springframework.org/browse/BATCH-339 Introduce MrakFailedException and ResetFailedException (unchecked for now). ResetFailedException has to be dealt with specially in the StepExecutor.
This commit is contained in:
@@ -57,7 +57,9 @@ public class BatchStatus implements Serializable {
|
||||
|
||||
public static final BatchStatus STOPPED = new BatchStatus("STOPPED");
|
||||
|
||||
private static final BatchStatus[] VALUES = { STARTING, STARTED, COMPLETED, FAILED, STOPPED };
|
||||
public static final BatchStatus UNKNOWN = new BatchStatus("UNKNOWN");
|
||||
|
||||
private static final BatchStatus[] VALUES = { STARTING, STARTED, COMPLETED, FAILED, STOPPED, UNKNOWN };
|
||||
|
||||
/**
|
||||
* Given a string representation of a status, return the appropriate BatchStatus.
|
||||
|
||||
@@ -15,8 +15,7 @@
|
||||
*/
|
||||
|
||||
package org.springframework.batch.core.domain;
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* Batch domain entity representing a step which is sequentially executed by a
|
||||
|
||||
Reference in New Issue
Block a user