com.github.dockerjava.api.command.UpdateSwarmCmd Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of org.apache.servicemix.bundles.docker-java
Show all versions of org.apache.servicemix.bundles.docker-java
This OSGi bundle wraps ${pkgArtifactId} ${pkgVersion} jar file.
package com.github.dockerjava.api.command;
import com.github.dockerjava.api.model.SwarmSpec;
import javax.annotation.CheckForNull;
public interface UpdateSwarmCmd extends SyncDockerCmd {
@CheckForNull
Long getVersion();
UpdateSwarmCmd withVersion(Long version);
@CheckForNull
Boolean getRotateWorkerToken();
UpdateSwarmCmd withRotateWorkerToken(Boolean rotateWorkerToken);
@CheckForNull
Boolean getRotateManagerToken();
UpdateSwarmCmd withRotateManagerToken(Boolean rotateManagerToken);
@CheckForNull
SwarmSpec getSwarmSpec();
UpdateSwarmCmd withSwarmSpec(SwarmSpec swarmSpec);
@Override
Void exec();
interface Exec extends DockerCmdSyncExec {
}
}