source:
trunk/gsdl3/packages/gsdl-as/src/org/greenstone/gsdlas/profiles/QueryPredicate.java@
8798
Last change on this file since 8798 was 8798, checked in by , 19 years ago | |
---|---|
|
|
File size: 847 bytes |
Line | |
---|---|
1 | /* |
2 | * Created on Nov 1, 2004 |
3 | * Copyright (C) Andrea Schweer, 2004 |
4 | * |
5 | * This file is part of the Greenstone Alerting Service. |
6 | * Refer to the COPYING file in the base directory of this package |
7 | * for licensing information. |
8 | */ |
9 | package org.greenstone.gsdlas.profiles; |
10 | |
11 | import java.util.*; |
12 | import java.util.Set; |
13 | import java.util.TreeSet; |
14 | |
15 | /** |
16 | * @author schweer |
17 | * |
18 | * TODO To change the template for this generated type comment go to Window - |
19 | * Preferences - Java - Code Style - Code Templates |
20 | */ |
21 | public class QueryPredicate extends Predicate { |
22 | |
23 | private Set containsWords = new TreeSet(); |
24 | private Set notContainsWords = new TreeSet(); |
25 | |
26 | public QueryPredicate (String field, String query) { |
27 | super.field = field; |
28 | super.value = query; |
29 | } |
30 | public boolean isSatisfied(Map event) { |
31 | return true; |
32 | } |
33 | } |
Note:
See TracBrowser
for help on using the repository browser.