mirror of
https://github.com/corda/corda.git
synced 2025-04-07 11:27:01 +00:00
Drop FlowRecoveryQuery criteria: excludeFlowIds
This commit is contained in:
parent
04b1e8fb3d
commit
5e017dfbc8
@ -57,10 +57,9 @@ class FlowRecoveryException(message: String, cause: Throwable? = null) : FlowExc
|
||||
data class FlowRecoveryQuery(
|
||||
val timeframe: FlowTimeWindow? = null,
|
||||
val initiatedBy: CordaX500Name? = null,
|
||||
val counterParties: List<CordaX500Name>? = null,
|
||||
val excludeFlowIds: List<StateMachineRunId>? = null) {
|
||||
val counterParties: List<CordaX500Name>? = null) {
|
||||
init {
|
||||
require(timeframe != null || initiatedBy != null || counterParties != null || excludeFlowIds != null) {
|
||||
require(timeframe != null || initiatedBy != null || counterParties != null) {
|
||||
"Must specify at least one recovery criteria"
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user