SchedulableState
Keywords: net.corda.core.contracts.SchedulableState interface
Date: 2023-09-18

net.corda.core.contracts

## Interface SchedulableState

- All Superinterfaces:
    ContractState

      public SchedulableState
      extends ContractState

- - ### Constructor Detail

    - #### SchedulableState

          public SchedulableState()

  - ### Method Detail

    - #### nextScheduledActivity

          @Nullable
          ScheduledActivity nextScheduledActivity(@NotNull
                                                            StateRef thisStateRef,
                                                            @NotNull
                                                            FlowLogicRefFactory flowLogicRefFactory)

      Indicate whether there is some activity to be performed at some future point in time with respect to this `interface ContractState`, what that activity is and at what point in time it should be initiated. This can be used to implement deadlines for payment or processing of financial instruments according to a schedule.

      The state has no reference to it's own StateRef, so supply that for use as input to any FlowLogic constructed.

      Returns:
        null if there is no activity to schedule.
      See Also:
        `interface ContractState`