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

com.github.dockerjava.api.command.ExecStartCmd Maven / Gradle / Ivy

There is a newer version: 3.4.0
Show newest version
package com.github.dockerjava.api.command;

import java.io.InputStream;

import javax.annotation.CheckForNull;
import javax.annotation.Nonnull;

import com.github.dockerjava.api.async.ResultCallback;
import com.github.dockerjava.api.exception.NotFoundException;
import com.github.dockerjava.api.model.Frame;

public interface ExecStartCmd extends AsyncDockerCmd {

    @CheckForNull
    String getExecId();

    @CheckForNull
    Boolean hasDetachEnabled();

    @CheckForNull
    Boolean hasTtyEnabled();

    @CheckForNull
    InputStream getStdin();

    ExecStartCmd withDetach(Boolean detach);

    ExecStartCmd withExecId(@Nonnull String execId);

    ExecStartCmd withTty(Boolean tty);

    ExecStartCmd withStdIn(InputStream stdin);

    /**
     *
     * @throws NotFoundException
     *             No such exec instance
     */
    @Override
    > T exec(T resultCallback);

    interface Exec extends DockerCmdAsyncExec {
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy