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

org.voovan.docker.message.service.atom.Mount 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.service.atom;

/**
 *
 * @author helyho
 * 

* DockerFly Framework. * WebSite: https://git.oschina.net/helyho/JDocker * Licence: Apache v2 License */ public class Mount { private Boolean readOnly; private String source; private String target; private String type; // bind/volume/tmpfs public Mount() { readOnly = true; type = "volume"; } public Mount( String type, String source, String target, boolean readOnly) { this.source = source; this.target = target; this.readOnly = readOnly; this.type = type; } public Mount(String source, String target, boolean readOnly) { this.source = source; this.target = target; this.readOnly = readOnly; this.type = "volume"; } public void setReadOnly(Boolean readOnly) { this.readOnly = readOnly; } public Boolean isReadOnly() { return this.readOnly; } public void setSource(String source) { this.source = source; } public String getSource() { return this.source; } public void setTarget(String target) { this.target = target; } public String getTarget() { return this.target; } public void setType(String type) { this.type = type; } public String getType() { return this.type; } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy