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

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

package com.github.dockerjava.api.command;

import com.github.dockerjava.api.exception.NotFoundException;

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

public interface ResizeExecCmd extends SyncDockerCmd {
    @CheckForNull
    String getExecId();

    Integer getHeight();

    Integer getWidth();

    ResizeExecCmd withExecId(@Nonnull String execId);

    ResizeExecCmd withSize(int height, int width);

    /**
     * @throws NotFoundException no such exec instance
     */
    @Override
    Void exec() throws NotFoundException;

    interface Exec extends DockerCmdSyncExec {
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy