com.github.dockerjava.api.command.UpdateServiceCmd 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.ServiceSpec;
import com.github.dockerjava.core.RemoteApiVersion;
import javax.annotation.CheckForNull;
import javax.annotation.Nonnull;
/**
* @since {@link RemoteApiVersion#VERSION_1_24}
*/
public interface UpdateServiceCmd extends SyncDockerCmd {
@CheckForNull
String getServiceId();
UpdateServiceCmd withServiceId(@Nonnull String serviceId);
@CheckForNull
ServiceSpec getServiceSpec();
UpdateServiceCmd withServiceSpec(ServiceSpec serviceSpec);
@CheckForNull
Long getVersion();
UpdateServiceCmd withVersion(Long version);
interface Exec extends DockerCmdSyncExec {
}
}