Interface ExpandableToken
-
- All Known Implementing Classes:
EventTemplate,ExpandableConstant,ExpandableParameter
public interface ExpandableTokenA token, which may or may not expandable.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Stringexpand(Event event, Map<String,Map<String,String>> decode)Expands a token.booleanrequiresTransaction()Defines if thisExpandableTokenrequires a transaction to be expanded.
-
-
-
Method Detail
-
expand
String expand(Event event, Map<String,Map<String,String>> decode)
Expands a token.- Parameters:
event- An event, to expand the token from. May not be null.decode- A Map, to help expanding the token. May be null.- Returns:
- The expanded token.
-
requiresTransaction
boolean requiresTransaction()
Defines if thisExpandableTokenrequires a transaction to be expanded.- Returns:
- True if a transaction is required, False otherwise.
-
-