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

com.kpelykh.docker.client.model.CommitConfig Maven / Gradle / Ivy

There is a newer version: 0.8.14
Show newest version
package com.kpelykh.docker.client.model;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;

/**
 *
 * @author Konstantin Pelykh ([email protected])
 *
 */
@JsonIgnoreProperties(ignoreUnknown = true)
public class CommitConfig {

    @JsonProperty("container")
    private String container;

    @JsonProperty("repo")
    private String repo;

    @JsonProperty("tag")
    private String tag;

    @JsonProperty("m")
    private String message;

    //author (eg. “John Hannibal Smith ”)
    @JsonProperty("author")
    private String author;

    //config automatically applied when the image is run. (ex: {“Cmd”: [“cat”, “/world”], “PortSpecs”:[“22”]})
    @JsonProperty("run")
    private String run;

    public String getContainer() {
        return container;
    }

    public String getRepo() {
        return repo;
    }

    public String getTag() {
        return tag;
    }

    public String getMessage() {
        return message;
    }

    public String getAuthor() {
        return author;
    }

    public String getRun() {
        return run;
    }

    public CommitConfig setRepo(String repo) {
        this.repo = repo;
        return this;
    }

    public CommitConfig setTag(String tag) {
        this.tag = tag;
        return this;
    }

    public CommitConfig setMessage(String message) {
        this.message = message;
        return this;
    }

    public CommitConfig setAuthor(String author) {
        this.author = author;
        return this;
    }

    public CommitConfig setRun(String run) {
        this.run = run;
        return this;
    }

    public CommitConfig(String container) {
        this.container = container;
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy