public interface ReplaceType
AnnoyingMessage.replace(String, Object, ReplaceType)
Implement this into your own enum to create your own ReplaceTypes for AnnoyingMessage.replace(String, Object, ReplaceType)
| Modifier and Type | Method and Description |
|---|---|
@NotNull java.lang.String |
getDefaultInput()
If no input is provided, this will be used
|
@NotNull java.util.function.BinaryOperator<java.lang.String> |
getOutputOperator()
The action done with the input and value
|
@NotNull @NotNull java.lang.String getDefaultInput()
@NotNull @NotNull java.util.function.BinaryOperator<java.lang.String> getOutputOperator()
The input comes first, then the value (for the operands)
BinaryOperator to use on the input and value