public class Breakpoint extends java.lang.Object implements java.lang.Comparable<Breakpoint>
Modifier and Type | Class and Description |
---|---|
static class |
Breakpoint.Type |
Constructor and Description |
---|
Breakpoint() |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(Breakpoint aBP)
Standard compare implementation.
|
Breakpoint |
createAccessWatchpoint(java.lang.String aClsName,
java.lang.String fieldId,
boolean isAccess)
Initializes a Watchpoint.
|
boolean |
equals(java.lang.Object anObj)
Standard equals implementation.
|
java.lang.String |
getDescriptor()
Returns a descriptor string.
|
WebFile |
getFile()
Returns the file.
|
java.lang.String |
getFilePath()
Returns the file path.
|
int |
getLine()
Returns the line index.
|
int |
getLineNum()
Returns the line number.
|
java.util.List<java.lang.String> |
getMethodArgs()
Returns the method args (if method break point).
|
java.lang.String |
getMethodName()
Returns the method name (if method break point).
|
java.lang.String |
getName()
Returns the name.
|
Breakpoint.Type |
getType()
Returns the type.
|
int |
hashCode()
Return hash code.
|
Breakpoint |
initClassLine(java.lang.String aClsName,
int line)
Initializes a LineBreakpoint.
|
Breakpoint |
initException(java.lang.String aClsName,
boolean notifyCaught,
boolean notifyUncaught)
Initializes a ExceptionIntercept.
|
Breakpoint |
initMethod(java.lang.String aClsName,
java.lang.String aMethod,
java.util.List theArgs)
Initializes a MethodBreakpoint.
|
Breakpoint |
initSourceLine(WebFile aFile,
int aLine)
Initializes a breakpoint for project, FilePath and Line.
|
boolean |
isEnabled()
Returns whether breakpoint is enabled.
|
void |
setEnabled(boolean aValue)
Sets whether breakpoint is enabled.
|
protected void |
setFile(WebFile aFile)
Sets the file.
|
void |
setLine(int aLine)
Sets the line number.
|
java.lang.String |
toString()
Standard toString implementation.
|
public Breakpoint initSourceLine(WebFile aFile, int aLine)
public Breakpoint initClassLine(java.lang.String aClsName, int line)
public Breakpoint initMethod(java.lang.String aClsName, java.lang.String aMethod, java.util.List theArgs)
public Breakpoint initException(java.lang.String aClsName, boolean notifyCaught, boolean notifyUncaught)
public Breakpoint createAccessWatchpoint(java.lang.String aClsName, java.lang.String fieldId, boolean isAccess)
public java.lang.String getName()
public Breakpoint.Type getType()
public WebFile getFile()
protected void setFile(WebFile aFile)
public java.lang.String getFilePath()
public int getLine()
public void setLine(int aLine)
public int getLineNum()
public java.lang.String getMethodName()
public java.util.List<java.lang.String> getMethodArgs()
public boolean isEnabled()
public void setEnabled(boolean aValue)
public java.lang.String getDescriptor()
public int compareTo(Breakpoint aBP)
compareTo
in interface java.lang.Comparable<Breakpoint>
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object anObj)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object