de.mcs.jmeasurement.renderer.MeasureDataRenderer Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of JMeasurement Show documentation
Show all versions of JMeasurement Show documentation
JMeasurement profiling programs in production enviroment
/*
* MCS Media Computer Software Copyright (c) 2005 by MCS
* -------------------------------------- Created on 23.04.2005 by w.klaas
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
package de.mcs.jmeasurement.renderer;
import de.mcs.jmeasurement.MeasurePoint;
/**
* this is the interface for the data renderer, which will create the string
* representations of one MeasurePoint.
*
* @author w.klaas
*/
public interface MeasureDataRenderer {
/**
* This methode will generate the string representation of the desired
* renderer for one measure point.
*
* @param point
* goes in.
* @param prefix
* some renderer need a differentiation of the caller, like the
* snapshot renderer and the main render, so the renderer could
* build different links for any of them.
* @return String the string representation of the values
* @since 0.64
*/
String getDataAsString(MeasurePoint point, String prefix);
}