Package org.camunda.bpm.engine.impl.db
Class FlushResult
- java.lang.Object
-
- org.camunda.bpm.engine.impl.db.FlushResult
-
public class FlushResult extends Object
-
-
Field Summary
Fields Modifier and Type Field Description protected List<DbOperation>
failedOperations
protected List<DbOperation>
remainingOperations
-
Constructor Summary
Constructors Constructor Description FlushResult(List<DbOperation> failedOperations, List<DbOperation> remainingOperations)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static FlushResult
allApplied()
List<DbOperation>
getFailedOperations()
List<DbOperation>
getRemainingOperations()
boolean
hasFailures()
boolean
hasRemainingOperations()
static FlushResult
withFailures(List<DbOperation> failedOperations)
static FlushResult
withFailuresAndRemaining(List<DbOperation> failedOperations, List<DbOperation> remainingOperations)
-
-
-
Field Detail
-
failedOperations
protected List<DbOperation> failedOperations
-
remainingOperations
protected List<DbOperation> remainingOperations
-
-
Constructor Detail
-
FlushResult
public FlushResult(List<DbOperation> failedOperations, List<DbOperation> remainingOperations)
-
-
Method Detail
-
getFailedOperations
public List<DbOperation> getFailedOperations()
- Returns:
- the operation that could not be performed
-
getRemainingOperations
public List<DbOperation> getRemainingOperations()
- Returns:
- operations that were not applied, because a preceding operation failed
-
hasFailures
public boolean hasFailures()
-
hasRemainingOperations
public boolean hasRemainingOperations()
-
allApplied
public static FlushResult allApplied()
-
withFailures
public static FlushResult withFailures(List<DbOperation> failedOperations)
-
withFailuresAndRemaining
public static FlushResult withFailuresAndRemaining(List<DbOperation> failedOperations, List<DbOperation> remainingOperations)
-
-