Interface IJavaStratumLineBreakpoint

All Superinterfaces:
org.eclipse.core.runtime.IAdaptable, org.eclipse.debug.core.model.IBreakpoint, IJavaBreakpoint, IJavaLineBreakpoint, org.eclipse.debug.core.model.ILineBreakpoint, org.eclipse.debug.core.model.ITriggerPoint

public interface IJavaStratumLineBreakpoint extends IJavaLineBreakpoint
A line breakpoint identified by its source file name and/or path, and stratum that it is relative to.
Since:
3.0
Restriction:
This interface is not intended to be implemented by clients.
Restriction:
This interface is not intended to be extended by clients.
  • Method Details

    • getPattern

      String getPattern() throws org.eclipse.core.runtime.CoreException
      Returns the type name pattern this breakpoint uses to identify types in which to install itself. Patterns may begin or end with '*'. Will not return null. In the case that a stratum breakpoint was created with a null pattern, "*" is returned.

      Multiple patterns can be specified in this breakpoint by delimiting the patterns with a comma - e.g. "x.y.z,a.b.c".

      Returns:
      the type name patterns this breakpoint uses to identify types in which to install itself.
      Throws:
      org.eclipse.core.runtime.CoreException - if unable to access the property from this breakpoint's underlying marker
    • getSourceName

      String getSourceName() throws org.eclipse.core.runtime.CoreException
      Returns the simple name of the source file in which this breakpoint is set, or null. When this breakpoint specifies a source file name, this breakpoint is only installed in types whose source file name debug attribute matches this value, relative to this breakpoint's stratum.
      Returns:
      the source file name in which this breakpoint is set, or null
      Throws:
      org.eclipse.core.runtime.CoreException - if unable to access the property from this breakpoint's underlying marker
    • getStratum

      String getStratum() throws org.eclipse.core.runtime.CoreException
      Returns the stratum that this breakpoint's source name, source path, and line number are relative to, or null if this breakpoint is relative to a type's default stratum.
      Returns:
      the stratum that this breakpoint's source name, source path, and line number are relative to, or null
      Throws:
      org.eclipse.core.runtime.CoreException - if unable to access the property from this breakpoint's underlying marker
    • getSourcePath

      String getSourcePath() throws org.eclipse.core.runtime.CoreException
      Returns the qualified source file path in which this breakpoint is set, or null. When specified, this breakpoint is only installed in types whose source file path debug attribute matches this value, relative to this breakpoint's stratum.
      Returns:
      the qualified source file path in which this breakpoint is set, or null
      Throws:
      org.eclipse.core.runtime.CoreException - if unable to get the source path