Interface ActionFilterFactory


@Internal public interface ActionFilterFactory
A factory which creates ActionFilters.
Since:
5.5
  • Method Details

    • any

      Gets an ActionFilter which matches any action.
      Returns:
      the matcher
    • source

      ActionFilter source(UUID uniqueId)
      Gets an ActionFilter which matches actions with a specific source user.
      Parameters:
      uniqueId - the source user unique id
      Returns:
      the matcher
    • user

      ActionFilter user(UUID uniqueId)
      Gets an ActionFilter which matches actions which target a specific user.
      Parameters:
      uniqueId - the target user unique id
      Returns:
      the matcher
    • group

      ActionFilter group(String name)
      Gets an ActionFilter which matches actions which target a specific group.
      Parameters:
      name - the target group name
      Returns:
      the matcher
    • track

      ActionFilter track(String name)
      Gets an ActionFilter which matches actions which target a specific track.
      Parameters:
      name - the target track name
      Returns:
      the matcher
    • search

      ActionFilter search(String query)
      Gets an ActionFilter which matches actions which contain a specific search query in the source name, target name or description.
      Parameters:
      query - the search query
      Returns:
      the matcher