Interface MessageEditor<T>
-
public interface MessageEditor<T>Provides an interface for abstracting edits that are made to a message.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Tedit(T input)Performs the edit on an input message.booleansupports(T input)Checks if this can edit a given message.
-
-
-
Method Detail
-
supports
boolean supports(T input)
Checks if this can edit a given message. This check should be highly optimized for performance. If a validation check cannot be completed extremely fast, this method should return true and decide in the scrub() implementation whether to perform the edit or not.
-
-