tmf: Update copyright headers in tmf.ui
[deliverable/tracecompass.git] / org.eclipse.linuxtools.tmf.ui.tests / src / org / eclipse / linuxtools / tmf / ui / tests / views / uml2sd / loader / IUml2SdSignalValidator.java
CommitLineData
73005152 1/*******************************************************************************
c8422608 2 * Copyright (c) 2011, 2013 Ericsson
64636df8 3 *
73005152
BH
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
64636df8 8 *
73005152
BH
9 * Contributors:
10 * Bernd Hufmann - Initial API and implementation
11 *******************************************************************************/
df0b8ff4 12package org.eclipse.linuxtools.tmf.ui.tests.views.uml2sd.loader;
73005152 13
3bd46eef
AM
14import org.eclipse.linuxtools.tmf.core.timestamp.TmfTimeRange;
15import org.eclipse.linuxtools.tmf.core.timestamp.TmfTimestamp;
73005152
BH
16
17/**
64636df8
BH
18 * Interface for testing signal handling within TmfUml2SD
19 *
20 * @author Bernd Hufmann
73005152
BH
21 */
22public interface IUml2SdSignalValidator {
64636df8
BH
23 /**
24 * @return if signal is received or not
25 */
73005152 26 public boolean isSignalReceived();
64636df8
BH
27 /**
28 * Sets signal received value
29 * @param received boolean value to set
30 */
73005152 31 public void setSignalReceived(boolean received);
64636df8
BH
32
33 /**
34 * @return whether source of signal is correct or not
35 */
73005152 36 public boolean isSourceError();
64636df8
BH
37 /**
38 * Sets the source error flag.
39 * @param fIsSourceError boolean value to set
40 */
73005152
BH
41 public void setSourceError(boolean fIsSourceError);
42
64636df8
BH
43 /**
44 * @return whether received current time is correct or not
45 */
73005152 46 public boolean isCurrentTimeError();
64636df8
BH
47 /**
48 * Sets the current time error flag.
49 * @param fIsCurrentTimeError boolean value to set
50 */
73005152
BH
51 public void setCurrentTimeError(boolean fIsCurrentTimeError);
52
64636df8
BH
53 /**
54 * @return whether received range is correct or not
55 */
73005152 56 public boolean isRangeError();
64636df8
BH
57 /**
58 * Sets the range error flag.
59 * @param fIsRangeError boolean value to set
60 */
73005152 61 public void setRangeError(boolean fIsRangeError);
64636df8
BH
62
63 /**
64 * @return whether signal was received or not
65 */
73005152 66 public boolean isSignalError();
64636df8
BH
67 /**
68 * Sets signal error flag.
69 * @param fIsSignalError boolean value to set
70 */
73005152 71 public void setSignalError(boolean fIsSignalError);
64636df8
BH
72
73 /**
74 * @return source of expected signal.
75 */
73005152 76 public Object getSource();
64636df8
BH
77 /**
78 * Sets source of expected signal
79 * @param source expected source component
80 */
73005152 81 public void setSource(Object source);
64636df8
BH
82
83 /**
84 * @return the expected current time.
85 */
73005152 86 public TmfTimestamp getCurrentTime();
64636df8
BH
87 /**
88 * Sets the expected current time
89 * @param currentTime Time to set
90 */
73005152 91 public void setCurrentTime(TmfTimestamp currentTime);
64636df8
BH
92
93 /**
94 * @return the expected current time range.
95 */
73005152 96 public TmfTimeRange getCurrentRange();
64636df8
BH
97 /**
98 * Sets the expected current time range.
99 * @param currentRange the expected current time range to set
100 */
73005152 101 public void setCurrentRange(TmfTimeRange currentRange);
64636df8 102
73005152 103}
This page took 0.0487 seconds and 5 git commands to generate.