All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.digdag.spi.Operator Maven / Gradle / Ivy

There is a newer version: 0.10.5.1
Show newest version
package io.digdag.spi;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

public interface Operator
{
    Logger logger = LoggerFactory.getLogger(Operator.class);

    TaskResult run();

    default void cleanup(TaskRequest request)
    {
        logger.debug("cleanup is called: attempt_id={}, task_id={}", request.getAttemptId(), request.getTaskId());
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy