Class StartAnalytics
- java.lang.Object
-
- org.jboss.hal.client.bootstrap.tasks.StartAnalytics
-
- All Implemented Interfaces:
Task<FlowContext>
public final class StartAnalytics extends Object implements Task<FlowContext>
Initialises google analytics and bindsTracker
-
-
Constructor Summary
Constructors Constructor Description StartAnalytics(Environment environment, Endpoints endpoints, Settings settings, com.google.web.bindery.event.shared.EventBus eventBus)
-
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
-
StartAnalytics
@Inject public StartAnalytics(Environment environment, Endpoints endpoints, Settings settings, com.google.web.bindery.event.shared.EventBus eventBus)
-
-
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
-
-