KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > jdt > debug > core > IJavaPatternBreakpoint


1 /*******************************************************************************
2  * Copyright (c) 2000, 2005 IBM Corporation and others.
3  * All rights reserved. This program and the accompanying materials
4  * are made available under the terms of the Eclipse Public License v1.0
5  * which accompanies this distribution, and is available at
6  * http://www.eclipse.org/legal/epl-v10.html
7  *
8  * Contributors:
9  * IBM Corporation - initial API and implementation
10  *******************************************************************************/

11 package org.eclipse.jdt.debug.core;
12
13
14 import org.eclipse.core.runtime.CoreException;
15
16 /**
17  * A line breakpoint installed in types associated with a specific source file
18  * (based on source file name debug attribute) and whose fully
19  * qualified name matches a specified pattern.
20  * <p>
21  * This interface is not intended to be implemented.
22  * </p>
23  * @since 2.0
24  * @deprecated use <code>IJavaStratumLineBreakpoint</code> instead
25  */

26 public interface IJavaPatternBreakpoint extends IJavaLineBreakpoint {
27
28     /**
29      * Returns the type name pattern this breakpoint uses to identify types
30      * in which to install itself.
31      *
32      * @return the type name pattern this breakpoint uses to identify types
33      * in which to install itself
34      * @exception CoreException if unable to access the property from
35      * this breakpoint's underlying marker
36      */

37     public String JavaDoc getPattern() throws CoreException;
38     
39     /**
40      * Returns the source file name in which this breakpoint is set.
41      * When this breakpoint specifies a source file name, this breakpoint is
42      * only installed in types whose source file name debug attribute
43      * match this value.
44      *
45      * @return the source file name in which this breakpoint is set
46      * @exception CoreException if unable to access the property from
47      * this breakpoint's underlying marker
48      */

49     public String JavaDoc getSourceName() throws CoreException;
50
51 }
52
53
Popular Tags