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