Class LoadSettings

  • All Implemented Interfaces:
    Task<FlowContext>

    public final class LoadSettings
    extends Object
    implements Task<FlowContext>
    Loads the settings. Please make sure this is one of the last bootstrap function. This function loads the run-as role which is then used by the dispatcher. But all previous bootstrap functions must not have a run-as role in the dispatcher.
    • Constructor Detail

    • Method Detail

      • apply

        public elemental2.promise.Promise<FlowContext> apply​(FlowContext context)
        Description copied from interface: Task
        Executes the task.
        Specified by:
        apply in interface Task<FlowContext>
        Parameters:
        context - the context shared between tasks
        Returns:
        a promise containing the shared context