KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > netbeans > api > debugger > jpda > SmartSteppingFilter


1 /*
2  * The contents of this file are subject to the terms of the Common Development
3  * and Distribution License (the License). You may not use this file except in
4  * compliance with the License.
5  *
6  * You can obtain a copy of the License at http://www.netbeans.org/cddl.html
7  * or http://www.netbeans.org/cddl.txt.
8  *
9  * When distributing Covered Code, include this CDDL Header Notice in each file
10  * and include the License file at http://www.netbeans.org/cddl.txt.
11  * If applicable, add the following below the CDDL Header, with the fields
12  * enclosed by brackets [] replaced by your own identifying information:
13  * "Portions Copyrighted [year] [name of copyright owner]"
14  *
15  * The Original Software is NetBeans. The Initial Developer of the Original
16  * Software is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
17  * Microsystems, Inc. All Rights Reserved.
18  */

19
20 package org.netbeans.api.debugger.jpda;
21
22 import java.beans.PropertyChangeListener JavaDoc;
23 import java.util.Set JavaDoc;
24
25 /**
26  * Defines list of class exclusion filters to be used to filter stepping
27  * in debugged session.
28  *
29  * <pre style="background-color: rgb(255, 255, 102);">
30  * It's strongly recommended
31  * not to implement this interface in client code. New methods can be added to
32  * this interface at any time to keep up with the JDI functionality.</pre>
33  *
34  * @author Jan Jancura
35  */

36 public interface SmartSteppingFilter {
37
38
39     /** Property name constant. */
40     public static final String JavaDoc PROP_EXCLUSION_PATTERNS = "exclusionPatterns";
41     
42     
43     /**
44      * Adds a set of new class exclusion filters. Filter is
45      * {@link java.lang.String} containing full class name. Filter can
46      * begin or end with '*' to define more than one class, for example
47      * "*.Ted", or "examples.texteditor.*".
48      *
49      * @param patterns a set of class exclusion filters to be added
50      */

51     public void addExclusionPatterns (Set JavaDoc<String JavaDoc> patterns);
52
53     /**
54      * Removes given set of class exclusion filters from filter.
55      *
56      * @param patterns a set of class exclusion filters to be added
57      */

58     public void removeExclusionPatterns (Set JavaDoc<String JavaDoc> patterns);
59     
60     /**
61      * Returns list of all exclusion patterns.
62      */

63     public String JavaDoc[] getExclusionPatterns ();
64     
65     /**
66      * Adds property change listener.
67      *
68      * @param l new listener.
69      */

70     public abstract void addPropertyChangeListener (PropertyChangeListener JavaDoc l);
71
72     /**
73      * Removes property change listener.
74      *
75      * @param l removed listener.
76      */

77     public abstract void removePropertyChangeListener (
78         PropertyChangeListener JavaDoc l
79     );
80 }
81
82
Popular Tags