@JvmStatic fun <P : Any> generateSetLifecycle(tx: TransactionBuilder, statesAndRefs: List<StateAndRef<State<P>>>, lifecycle: Lifecycle, notary: Party): Unit
Generate a transaction changing the lifecycle of one or more state objects.
statesAndRefs
- a list of state objects, which MUST all have the same issuance definition. This avoids
potential complications arising from different deadlines applying to different states.