io.probedock.client.common.model.v1.Probe Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of probedock-java Show documentation
Show all versions of probedock-java Show documentation
Base code to write Probe Dock clients in Java
package io.probedock.client.common.model.v1;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.probedock.client.common.model.ProbeInfo;
/**
* Probe info
*
* @author Laurent Prevost
*/
public class Probe implements ProbeInfo {
@JsonProperty("name")
private String name;
@JsonProperty("version")
private String version;
@Override
public String getName() {
return name;
}
public Probe() {}
public Probe(String name, String version) {
this.name = name;
this.version = version;
}
public void setName(String name) {
this.name = name;
}
@Override
public String getVersion() {
return version;
}
public void setVersion(String version) {
this.version = version;
}
@Override
public String toString() {
return
"Name: " + name + ", " +
"Version: " + version;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy