Class LoadSettings
- java.lang.Object
-
- org.jboss.hal.client.bootstrap.tasks.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 Summary
Constructors Constructor Description LoadSettings(Environment environment, Settings settings)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description elemental2.promise.Promise<FlowContext>apply(FlowContext context)Executes the task.
-
-
-
Constructor Detail
-
LoadSettings
@Inject public LoadSettings(Environment environment, Settings settings)
-
-
Method Detail
-
apply
public elemental2.promise.Promise<FlowContext> apply(FlowContext context)
Description copied from interface:TaskExecutes the task.- Specified by:
applyin interfaceTask<FlowContext>- Parameters:
context- the context shared between tasks- Returns:
- a promise containing the shared context
-
-