Class ExpandableConstant

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String expand​(Event event, java.util.Map<java.lang.String,​java.util.Map<java.lang.String,​java.lang.String>> decode)
      Expands a token.
      boolean requiresTransaction()
      Defines if this ExpandableToken requires a transaction to be expanded.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ExpandableConstant

        public ExpandableConstant​(java.lang.String token)
      • ExpandableConstant

        public ExpandableConstant​(char c)
    • Method Detail

      • expand

        public java.lang.String expand​(Event event,
                                       java.util.Map<java.lang.String,​java.util.Map<java.lang.String,​java.lang.String>> decode)
        Description copied from interface: ExpandableToken
        Expands a token.
        Specified by:
        expand in interface ExpandableToken
        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.