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.
      • defaultPortalState

        public WorkflowStateModel.Builder<T> defaultPortalState​(EPortalStatePreset preset)
        Presets to apply when the state does not yet have a portal state configured.
        Parameters:
        preset - The preset to apply.
        Returns:
        This builder for chaining method calls.