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

org.voovan.docker.message.container.atom.RestartPolicy Maven / Gradle / Ivy

Go to download

By encapsulating the Docker API enables developers to use Java can quickly developed the control and operation of the Docker application, using streaming operation, simple and clear.

The newest version!
package org.voovan.docker.message.container.atom;

/**
 *
 * @author helyho
 * 

* DockerFly Framework. * WebSite: https://git.oschina.net/helyho/JDocker * Licence: Apache v2 License */ public class RestartPolicy { private String name; // "always" "unless-stopped" "on-failure" private Integer maximumRetryCount; public RestartPolicy() { name = "on-failure"; maximumRetryCount = 0; } public String getName() { return name; } public void setName(String name) { this.name = name; } public Integer getMaximumRetryCount() { return maximumRetryCount; } public void setMaximumRetryCount(Integer maximumRetryCount) { this.maximumRetryCount = maximumRetryCount; } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy