public class ExpandableConstant extends Object implements ExpandableToken
ExpandableToken is a "not" expandable token, or ExpandableConstant.| Constructor and Description | 
|---|
| ExpandableConstant(char c) | 
| ExpandableConstant(String token) | 
| Modifier and Type | Method and Description | 
|---|---|
| String | expand(Event event,
      Map<String,Map<String,String>> decode)Expands a token. | 
| boolean | requiresTransaction()Defines if this  ExpandableTokenrequires a transaction to be expanded. | 
public ExpandableConstant(String token)
public ExpandableConstant(char c)
public String expand(Event event, Map<String,Map<String,String>> decode)
ExpandableTokenexpand in interface ExpandableTokenevent - An event, to expand the token from. May not be null.decode - A Map, to help expanding the token. May be null.public boolean requiresTransaction()
ExpandableTokenExpandableToken requires a transaction to be expanded.requiresTransaction in interface ExpandableTokenCopyright © 2021. All rights reserved.