06128577f11560ef0aa8b3ab117e9c02dd37b84b
[deliverable/tracecompass.git] / org.eclipse.tracecompass.tmf.core / src / org / eclipse / tracecompass / tmf / core / trace / ITmfTraceCompleteness.java
1 /**********************************************************************
2 * Copyright (c) 2014 Ericsson
3 *
4 * All rights reserved. This program and the accompanying materials are
5 * made available under the terms of the Eclipse Public License v1.0 which
6 * accompanies this distribution, and is available at
7 * http://www.eclipse.org/legal/epl-v10.html
8 *
9 * Contributors:
10 * Marc-Andre Laperle - Initial implementation
11 **********************************************************************/
12
13 package org.eclipse.tracecompass.tmf.core.trace;
14
15 /**
16 * An interface that provides information about the completeness of a trace. A
17 * trace is considered complete when it is known that no more data will be added
18 * to it.
19 */
20 public interface ITmfTraceCompleteness {
21
22 /**
23 * Returns whether or not a trace is complete.
24 *
25 * @return true if a trace is complete, false otherwise
26 */
27 boolean isComplete();
28
29 /**
30 * Set the completeness of a trace.
31 *
32 * @param isComplete
33 * whether the trace should be considered complete or not
34 */
35 void setComplete(boolean isComplete);
36 }
This page took 0.032285 seconds and 4 git commands to generate.