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

org.testifyproject.github.dockerjava.api.command.TopContainerResponse Maven / Gradle / Ivy

package org.testifyproject.testifyproject.github.dockerjava.api.org.testifyproject.testifyprojectmand;

import org.testifyproject.testifyproject.fasterxml.jackson.annotation.JsonIgnoreProperties;
import org.testifyproject.testifyproject.fasterxml.jackson.annotation.JsonProperty;
import org.testifyproject.testifyproject.google.org.testifyproject.testifyprojectmon.base.Joiner;

/**
 *
 * @author Marcus Linke
 *
 */
@JsonIgnoreProperties(ignoreUnknown = true)
public class TopContainerResponse {

    @JsonProperty("Titles")
    private String[] titles;

    @JsonProperty("Processes")
    private String[][] processes;

    public String[] getTitles() {
        return titles;
    }

    public String[][] getProcesses() {
        return processes;
    }

    @Override
    public String toString() {
        StringBuffer buffer = new StringBuffer();
        buffer.append("[");
        for (String[] fields : processes) {
            buffer.append("[" + Joiner.on("; ").skipNulls().join(fields) + "]");
        }
        buffer.append("]");

        return "TopContainerResponse{" + "titles=" + Joiner.on("; ").skipNulls().join(titles) + ", processes="
                + buffer.toString() + '}';
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy