Class WorkflowStateModel.Builder<T>

    • Field Detail

      • state

        protected final T state
    • Method Detail

      • locale

        public WorkflowStateModel.Builder<T> locale​(Locale locale)
        Sets the locale to use when creating the model. Defaults to CmnConst.DFLT_LOCALE. This is used for example for localizing the authenticator names and descriptions.
        Parameters:
        locale - The locale to use.
        Returns:
        This builder for chaining method calls.
      • defaultEndUserState

        public WorkflowStateModel.Builder<T> defaultEndUserState​(EEndUserStatePreset preset)
        Presets to apply when the state does not yet have a end user state configured.
        Parameters:
        preset - The preset to apply.
        Returns:
        This builder for chaining method calls.
      • clientLocale

        public WorkflowStateModel.Builder<T> clientLocale​(Locale clientLocale)
        Sets the locale of the current client. This is used for example for creating the localizations tab of the state.
        Parameters:
        clientLocale - The locale of the client.
        Returns:
        This builder for chaining method calls.