Interface StateContainer<S extends State<S>>

    • Method Detail

      • defaultState

        S defaultState()
      • stateProperties

        java.util.Collection<StateProperty<?>> stateProperties()
      • findStateProperty

        java.util.Optional<StateProperty<?>> findStateProperty​(java.lang.String name)
        Attempts to retrieve the StateProperty instance associated with this StateContainer by name. If there is no StateProperty available, Optional.empty() is returned.
        Parameters:
        name - The state property name
        Returns:
        The state property, if available