org.voovan.docker.message.swarm.SwarmUpdate Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of JDocker Show documentation
Show all versions of JDocker Show documentation
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.swarm;
import org.voovan.docker.message.swarm.atom.SwarmSpec;
import org.voovan.tools.json.JSON;
import org.voovan.tools.log.Logger;
/**
*
* @author helyho
*
* DockerFly Framework.
* WebSite: https://git.oschina.net/helyho/JDocker
* Licence: Apache v2 License
*/
public class SwarmUpdate extends SwarmSpec {
public SwarmUpdate() {
super();
}
public static void main(String[] args) throws ReflectiveOperationException {
SwarmUpdate swarmUpdate = new SwarmUpdate();
swarmUpdate.setName("UpdatedSwarm");
Logger.simple(JSON.formatJson(JSON.toJSON(swarmUpdate)));
}
}