Interface StateChangeInitialAction

All Superinterfaces:
ResourceUpdateAction<StateUpdateAction>, StateUpdateAction

public interface StateChangeInitialAction extends StateUpdateAction
StateChangeInitialAction
Example to create an instance using the builder pattern

     StateChangeInitialAction stateChangeInitialAction = StateChangeInitialAction.builder()
             .initial(true)
             .build()
 
  • Field Details

  • Method Details

    • getInitial

      @NotNull @NotNull Boolean getInitial()

      Set to true for defining the State as initial State in a state machine and making it the first step in a workflow.

      Returns:
      initial
    • setInitial

      void setInitial(Boolean initial)

      Set to true for defining the State as initial State in a state machine and making it the first step in a workflow.

      Parameters:
      initial - value to be set
    • of

      factory method
      Returns:
      instance of StateChangeInitialAction
    • of

      factory method to create a shallow copy StateChangeInitialAction
      Parameters:
      template - instance to be copied
      Returns:
      copy instance
    • deepCopy

      factory method to create a deep copy of StateChangeInitialAction
      Parameters:
      template - instance to be copied
      Returns:
      copy instance
    • builder

      builder factory method for StateChangeInitialAction
      Returns:
      builder
    • builder

      create builder for StateChangeInitialAction instance
      Parameters:
      template - instance with prefilled values for the builder
      Returns:
      builder
    • withStateChangeInitialAction

      default <T> T withStateChangeInitialAction(Function<StateChangeInitialAction,T> helper)
      accessor map function
      Type Parameters:
      T - mapped type
      Parameters:
      helper - function to map the object
      Returns:
      mapped value
    • typeReference

      static com.fasterxml.jackson.core.type.TypeReference<StateChangeInitialAction> typeReference()
      gives a TypeReference for usage with Jackson DataBind
      Returns:
      TypeReference