
com.intellifylearning.metrics.NullMeasurement Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of intellisense Show documentation
Show all versions of intellisense Show documentation
IntelliSense Sensor API for Java
package com.intellifylearning.metrics;
import java.util.Date;
public class NullMeasurement extends Measurement {
@Override
public Measurement forAction(Action action) {
return this;
}
@Override
public Measurement withValue(String value) {
return this;
}
@Override
public Measurement withValue(long value) {
return this;
}
@Override
public Measurement withValue(double value) {
return this;
}
@Override
public Measurement withValue(boolean value) {
return this;
}
@Override
public void record() {
// do nothing
}
@Override
public Measurement atTime(Date time) {
// TODO Auto-generated method stub
return this;
}
@Override
public Measurement withActionContext(ActionContext actionContext) {
// TODO Auto-generated method stub
return this;
}
@Override
public Measurement withActivityContext(ActivityContext activityContext) {
// TODO Auto-generated method stub
return this;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy