public class CommandTask extends GenieBaseTask
| Constructor and Description |
|---|
CommandTask(@NotNull io.micrometer.core.instrument.MeterRegistry registry,
@NotNull GenieFileTransferService fts)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
executeTask(@NotNull java.util.Map<java.lang.String,java.lang.Object> context)
Execute the task.
|
buildLocalFilePathpublic CommandTask(@NotNull
@NotNull io.micrometer.core.instrument.MeterRegistry registry,
@NotNull
@NotNull GenieFileTransferService fts)
registry - The metrics registry to usefts - File transfer servicepublic void executeTask(@NotNull
@NotNull java.util.Map<java.lang.String,java.lang.Object> context)
throws com.netflix.genie.common.exceptions.GenieException,
java.io.IOException
context - Information needed to execute the task.com.netflix.genie.common.exceptions.GenieException - if there is an error.java.io.IOException - if there is a problem writing to the disk.