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

com.github.dockerjava.core.command.LeaveSwarmCmdImpl Maven / Gradle / Ivy

There is a newer version: 3.4.1
Show newest version
package com.github.dockerjava.core.command;


import com.github.dockerjava.api.command.LeaveSwarmCmd;

import javax.annotation.CheckForNull;

public class LeaveSwarmCmdImpl extends AbstrDockerCmd implements LeaveSwarmCmd {

    private Boolean force;

    public LeaveSwarmCmdImpl(LeaveSwarmCmd.Exec exec) {
        super(exec);
    }

    @Override
    @CheckForNull
    public Boolean hasForceEnabled() {
        return force;
    }

    @Override
    public LeaveSwarmCmd withForceEnabled(Boolean force) {
        this.force = force;
        return this;
    }

    @Override
    public Void exec() {
        return super.exec();
    }


}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy