Package org.eclipse.lsp4j.debug
Class ExceptionPathSegment
- java.lang.Object
-
- org.eclipse.lsp4j.debug.ExceptionPathSegment
-
public class ExceptionPathSegment extends java.lang.Object
An ExceptionPathSegment represents a segment in a path that is used to match leafs or nodes in a tree of exceptions.If a segment consists of more than one name, it matches the names provided if 'negate' is false or missing, or it matches anything except the names provided if 'negate' is true.
-
-
Constructor Summary
Constructors Constructor Description ExceptionPathSegment()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
java.lang.String[]
getNames()
Depending on the value of 'negate' the names that should match or not match.java.lang.Boolean
getNegate()
If false or missing this segment matches the names provided, otherwise it matches anything except the names provided.int
hashCode()
void
setNames(java.lang.String[] names)
Depending on the value of 'negate' the names that should match or not match.void
setNegate(java.lang.Boolean negate)
If false or missing this segment matches the names provided, otherwise it matches anything except the names provided.java.lang.String
toString()
-
-
-
Method Detail
-
getNegate
public java.lang.Boolean getNegate()
If false or missing this segment matches the names provided, otherwise it matches anything except the names provided.This is an optional property.
-
setNegate
public void setNegate(java.lang.Boolean negate)
If false or missing this segment matches the names provided, otherwise it matches anything except the names provided.This is an optional property.
-
getNames
public java.lang.String[] getNames()
Depending on the value of 'negate' the names that should match or not match.
-
setNames
public void setNames(java.lang.String[] names)
Depending on the value of 'negate' the names that should match or not match.
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-