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

org.voovan.docker.message.swarm.atom.SwarmSpec 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.swarm.atom;

/**
 *
 * @author helyho
 * 

* DockerFly Framework. * WebSite: https://git.oschina.net/helyho/JDocker * Licence: Apache v2 License */ public class SwarmSpec { private String name; private Orchestration orchestration; private Raft raft; private Dispatcher dispatcher; private CAConfig caConfig; public SwarmSpec() { name = "default"; orchestration = new Orchestration(); raft = new Raft(); dispatcher = new Dispatcher(); caConfig = new CAConfig(); } public String getName() { return name; } public void setName(String name) { this.name = name; } public Orchestration getOrchestration() { return orchestration; } public void setOrchestration(Orchestration orchestration) { this.orchestration = orchestration; } public Raft getRaft() { return raft; } public void setRaft(Raft raft) { this.raft = raft; } public Dispatcher getDispatcher() { return dispatcher; } public void setDispatcher(Dispatcher dispatcher) { this.dispatcher = dispatcher; } public CAConfig getCaConfig() { return caConfig; } public void setCaConfig(CAConfig caConfig) { this.caConfig = caConfig; } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy