Package

org.scaladebugger.api.lowlevel.events

filters

Permalink

package filters

Visibility
  1. Public
  2. All

Type Members

  1. case class AndFilter(filters: JDIEventFilter*) extends JDIEventFilter with Product with Serializable

    Permalink

    Represents a local filter that will return the result of ANDing multiple filters together.

    Represents a local filter that will return the result of ANDing multiple filters together.

    filters

    The collection of filters to evaluate

    Example:
    1. AndFilter(Filter1, Filter2) will only pass if both filters pass

  2. case class CustomPropertyFilter(key: AnyRef, value: AnyRef) extends JDIEventFilter with CustomPropertyFilterLike with Product with Serializable

    Permalink

    Represents a local filter that will result in ignoring any incoming event if it does not have a matching custom property.

    Represents a local filter that will result in ignoring any incoming event if it does not have a matching custom property.

    key

    The key of the property to match

    value

    The value of the property to match

    Example:
    1. CustomPropertyFilter("test", 33) will only allow events that have a request with a custom property whose key is "test" and value for that key is 33

  3. trait CustomPropertyFilterLike extends AnyRef

    Permalink

    Represents the interface for custom property filters to implement.

  4. trait JDIEventFilter extends JDIEventArgument

    Permalink

    Represents a filter for a JDI Event.

  5. trait JDIEventFilterProcessor extends JDIEventProcessor

    Permalink

    Represents a processor for a JDI Event Filter.

  6. case class MaxTriggerFilter(count: Int) extends JDIEventFilter with Product with Serializable

    Permalink

    Represents a local filter that will result in ignoring any incoming event after N successful events have been reported.

    Represents a local filter that will result in ignoring any incoming event after N successful events have been reported.

    count

    The total number of events to allow before ignoring all subsequent events

    Example:
    1. MaxTriggerFilter(count = 3) will allow event 1, 2, and 3; ignoring all subsequent events

  7. case class MethodNameFilter(name: String) extends JDIEventFilter with Product with Serializable

    Permalink

    Represents a local filter that will result in ignoring any incoming event if it does not have the specified method name.

    Represents a local filter that will result in ignoring any incoming event if it does not have the specified method name.

    name

    The name of the method

    Example:
    1. MethodNameFilter(name = "someMethod") will ignore any event not originating from this method.

    Note

    Only valid for MethodEntry, MethodExit, and Locatable events. All other events are ignored and do not affect the overall filter results.

  8. case class MinTriggerFilter(count: Int) extends JDIEventFilter with Product with Serializable

    Permalink

    Represents a local filter that will result in ignoring any incoming event until N successful events have been reported.

    Represents a local filter that will result in ignoring any incoming event until N successful events have been reported.

    count

    The total number of events to ignore before allowing all subsequent events

    Example:
    1. MinTriggerFilter(count = 3) will ignore event 1, 2, and 3; allowing all subsequent events

  9. case class NotFilter(filter: JDIEventFilter) extends JDIEventFilter with Product with Serializable

    Permalink

    Represents a local filter that will return the result of negating a filter.

    Represents a local filter that will return the result of negating a filter.

    filter

    The filter to negate

    Example:
    1. NotFilter(Filter1) will pass if Filter1 does not pass

  10. case class OrFilter(filters: JDIEventFilter*) extends JDIEventFilter with Product with Serializable

    Permalink

    Represents a local filter that will return the result of ORing multiple filters together.

    Represents a local filter that will return the result of ORing multiple filters together.

    filters

    The collection of filters to evaluate

    Example:
    1. OrFilter(Filter1, Filter2) will pass if either filter passes

  11. case class UniqueIdPropertyFilter(id: String) extends JDIEventFilter with CustomPropertyFilterLike with Product with Serializable

    Permalink

    Represents a local filter that will result in ignoring any incoming event if it does not have a matching unique id.

    Represents a local filter that will result in ignoring any incoming event if it does not have a matching unique id.

    id

    The unique id to check when filtering

    Example:
    1. UniqueIdPropertyFilter("some id") will only allow events that have a request with a unique id set to "some id"

  12. case class WildcardPatternFilter(pattern: String) extends JDIEventFilter with Product with Serializable

    Permalink

    Represents a local filter that will result in ignoring any incoming event if it does not match the specified wildcard pattern.

    Represents a local filter that will result in ignoring any incoming event if it does not match the specified wildcard pattern.

    pattern

    The wildcard pattern

    Example:
    1. WildcardPatternFilter(pattern = "java*") will ignore any event not originating whose method or full class name does not match this pattern.

    Note

    Only valid for ClassPrepare, ClassUnload, Exception, MethodEntry, MethodExit, ThreadDeath, and ThreadStart events. All other events are ignored and do not affect the overall filter results.

Value Members

  1. package processors

    Permalink

Ungrouped