Interface StatusAccessor.StatusBuilder<S,B extends StatusAccessor.StatusBuilder<S,B>>

Type Parameters:
S - The type of the state to be used.
B - The builder to return in order to be able to apply multiple build operations.
Enclosing interface:
StatusAccessor<S>

public static interface StatusAccessor.StatusBuilder<S,B extends StatusAccessor.StatusBuilder<S,B>>
Provides a builder method for a state property returning the builder for applying multiple build operations.
  • Method Summary

    Modifier and Type
    Method
    Description
    withStatus(S aState)
    Sets the state for the state property.
  • Method Details

    • withStatus

      B withStatus(S aState)
      Sets the state for the state property.
      Parameters:
      aState - The state to be stored by the state property.
      Returns:
      The builder for applying multiple build operations.