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

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

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

import java.nio.file.Path;
import org.immutables.value.Value;

@Value.Immutable
public interface CommandContext
{
    /**
     * Returns an absolute path of project directory.
     *
     * @return
     */
    Path getLocalProjectPath();

    /**
     * Returns task request.
     *
     * @return
     */
    TaskRequest getTaskRequest();

    static ImmutableCommandContext.Builder builder()
    {
        return ImmutableCommandContext.builder();
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy