com.github.dockerjava.core.command.LeaveSwarmCmdImpl Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of docker-java Show documentation
Show all versions of docker-java Show documentation
Java API Client for Docker
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