Class State.Builder

  • Enclosing class:
    State

    public static class State.Builder
    extends java.lang.Object
    Builder.
    • Constructor Detail

      • Builder

        public Builder()
        Instantiates a new builder.
    • Method Detail

      • build

        public State build()
        Builds a State.
        Returns:
        the new State instance
      • current

        public State.Builder current​(java.lang.String current)
        Set the current.
        Parameters:
        current - the current
        Returns:
        the State builder
      • currentEntered

        public State.Builder currentEntered​(java.util.Date currentEntered)
        Set the currentEntered.
        Parameters:
        currentEntered - the currentEntered
        Returns:
        the State builder
      • pending

        public State.Builder pending​(java.lang.String pending)
        Set the pending.
        Parameters:
        pending - the pending
        Returns:
        the State builder
      • pendingRequested

        public State.Builder pendingRequested​(java.util.Date pendingRequested)
        Set the pendingRequested.
        Parameters:
        pendingRequested - the pendingRequested
        Returns:
        the State builder
      • previous

        public State.Builder previous​(java.lang.String previous)
        Set the previous.
        Parameters:
        previous - the previous
        Returns:
        the State builder