org.eclipse.jdt.debug.core
Interface IJavaTargetPatternBreakpoint
- All Superinterfaces:
- IAdaptable, IBreakpoint, IJavaBreakpoint, IJavaLineBreakpoint, ILineBreakpoint
- public interface IJavaTargetPatternBreakpoint
- extends IJavaLineBreakpoint
A line breakpoint installed in types associated with a specific source file
(based on source file name debug attribute) and whose fully
qualified name matches a specified pattern per target.
The {target, type name pattern} pairs are not persisted with this breakpoint, as
targets are transient. Clients that use this type of breakpoint are intended
to be breakpoint listeners that set a pattern per target as each breakpoint
is added to a target.
This interface is not intended to be implemented.
- Since:
- 2.0
- See Also:
IJavaBreakpointListener
Method Summary |
String |
getPattern(IJavaDebugTarget target)
Returns the type name pattern this breakpoint uses to identify types
in which to install itself in the given target |
String |
getSourceName()
Returns the source file name in which this breakpoint is set. |
void |
setPattern(IJavaDebugTarget target,
String pattern)
Sets the type name pattern this breakpoint uses to identify types
in which to install itself in the given target |
getPattern
public String getPattern(IJavaDebugTarget target)
- Returns the type name pattern this breakpoint uses to identify types
in which to install itself in the given target
- Parameters:
target
- debug target
- Returns:
- the type name pattern this breakpoint uses to identify types
in which to install itself in the given target
setPattern
public void setPattern(IJavaDebugTarget target,
String pattern)
throws CoreException
- Sets the type name pattern this breakpoint uses to identify types
in which to install itself in the given target
- Parameters:
target
- debug targetpattern
- type name pattern
- Throws:
CoreException
- if changing the pattern for this breakpoint fails
getSourceName
public String getSourceName()
throws CoreException
- Returns the source file name in which this breakpoint is set.
When this breakpoint specifies a source file name, this breakpoint is
only installed in types whose source file name debug attribute
match this value.
- Returns:
- the source file name in which this breakpoint is set
- Throws:
CoreException
- if unable to access the property from
this breakpoint's underlying marker
Copyright (c) IBM Corp. and others 2000, 2002. All Rights Reserved.