public class InitialSetupTask extends GenieBaseTask
Constructor and Description |
---|
InitialSetupTask(@NotNull io.micrometer.core.instrument.MeterRegistry registry)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
executeTask(@NotNull java.util.Map<java.lang.String,java.lang.Object> context)
Execute the task.
|
buildLocalFilePath
public InitialSetupTask(@NotNull @NotNull io.micrometer.core.instrument.MeterRegistry registry)
registry
- The metrics registry to usepublic void executeTask(@NotNull @NotNull java.util.Map<java.lang.String,java.lang.Object> context) throws GenieException, java.io.IOException
context
- Information needed to execute the task.GenieException
- if there is an error.java.io.IOException
- if there is a problem writing to the disk.