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