pro.panopticon.client.sensor.impl.JavaVersionSensor Maven / Gradle / Ivy
package pro.panopticon.client.sensor.impl;
import pro.panopticon.client.model.Measurement;
import pro.panopticon.client.sensor.Sensor;
import java.util.ArrayList;
import java.util.List;
public class JavaVersionSensor implements Sensor {
private final String version = System.getProperty("java.version");
@Override
public List measure() {
List measurements = new ArrayList<>();
measurements.add(new Measurement("java.version", "INFO", version));
return measurements;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy