01: /*
02: * MCS Media Computer Software
03: * Copyright (c) 2006 by MCS
04: * --------------------------------------
05: * Created on 22.03.2006 by w.klaas
06: *
07: * Licensed under the Apache License, Version 2.0 (the "License");
08: * you may not use this file except in compliance with the License.
09: * You may obtain a copy of the License at
10: *
11: * http://www.apache.org/licenses/LICENSE-2.0
12: *
13: * Unless required by applicable law or agreed to in writing, software
14: * distributed under the License is distributed on an "AS IS" BASIS,
15: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16: * See the License for the specific language governing permissions and
17: * limitations under the License.
18: */
19: package de.mcs.jmeasurement.renderer;
20:
21: import de.mcs.jmeasurement.SnapShot;
22:
23: /**
24: * This interface will be used in the <code>getReport()</code> of the
25: * <code>MeasureFactory</code> for defining a header and a footer for the
26: * report and for the pages of a report espacially for the snapshot part.
27: *
28: * @author w.klaas
29: */
30: public interface MeasureDataRendererSnapshot {
31:
32: /**
33: * starting a new snap shot.
34: *
35: * @param snapShot
36: * the snapshot to start with.
37: * @return String
38: */
39: String startSnapShot(SnapShot snapShot);
40:
41: /**
42: * ending a new snap shot.
43: *
44: * @param snapShot
45: * the snapshot to end with.
46: * @return String
47: */
48: String endSnapShot(SnapShot snapShot);
49:
50: }
|