Interface ActionFilter
-
Method Summary
Modifier and TypeMethodDescriptionstatic ActionFilterany()Gets anActionFilterwhich matches any action.static ActionFilterGets anActionFilterwhich matches actions which target a specific group.static ActionFilterGets anActionFilterwhich matches actions which contain a specific search query in the source name, target name or description.static ActionFilterGets anActionFilterwhich matches actions with a specific source user.booleanTests to see if the givenActionmatches the filter.static ActionFilterGets anActionFilterwhich matches actions which target a specific track.static ActionFilterGets anActionFilterwhich matches actions which target a specific user.
-
Method Details
-
any
-
source
Gets anActionFilterwhich matches actions with a specific source user.- Parameters:
uniqueId- the source user unique id- Returns:
- the matcher
-
user
Gets anActionFilterwhich matches actions which target a specific user.- Parameters:
uniqueId- the target user unique id- Returns:
- the matcher
-
group
Gets anActionFilterwhich matches actions which target a specific group.- Parameters:
name- the target group name- Returns:
- the matcher
-
track
Gets anActionFilterwhich matches actions which target a specific track.- Parameters:
name- the target track name- Returns:
- the matcher
-
search
Gets anActionFilterwhich matches actions which contain a specific search query in the source name, target name or description.- Parameters:
query- the search query- Returns:
- the matcher
-
test
-