trace/traceviewer/com.nokia.traceviewer/src/com/nokia/traceviewer/engine/dataprocessor/FilterRuleObject.java
equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2007-2010 Nokia Corporation and/or its subsidiary(-ies). |
|
3 * All rights reserved. |
|
4 * This component and the accompanying materials are made available |
|
5 * under the terms of "Eclipse Public License v1.0" |
|
6 * which accompanies this distribution, and is available |
|
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - initial contribution. |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description: |
|
15 * |
|
16 * Interface for filter rule objects |
|
17 * |
|
18 */ |
|
19 package com.nokia.traceviewer.engine.dataprocessor; |
|
20 |
|
21 import com.nokia.traceviewer.engine.TraceProperties; |
|
22 |
|
23 /** |
|
24 * Interface for filter rule objects |
|
25 * |
|
26 */ |
|
27 public interface FilterRuleObject { |
|
28 |
|
29 /** |
|
30 * Tells that this filter rule object is inside a logical NOT |
|
31 * |
|
32 * @return true if object is inside a logical NOT |
|
33 */ |
|
34 public boolean isLogicalNotRule(); |
|
35 |
|
36 /** |
|
37 * Sets this filter rule object to NOT condition |
|
38 * |
|
39 * @param notRule |
|
40 * the new status of NOT condition |
|
41 */ |
|
42 public void setLogicalNotRule(boolean notRule); |
|
43 |
|
44 /** |
|
45 * Processes this filter rule |
|
46 * |
|
47 * @param properties |
|
48 * trace properties |
|
49 * @return true if filter rule hits, false otherwise |
|
50 */ |
|
51 public boolean processRule(TraceProperties properties); |
|
52 } |