Package org.incendo.cloud.help
Interface CommandPredicate<C>
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
-
Method Summary
-
Method Details
-
acceptAll
Returns a new predicate which accepts all commands.- Type Parameters:
C- the command sender type- Returns:
- the filter
-
test
Returnstrueif the command should be kept andfalseif the command should be filtered out.
-