Class ParsedEvent<T>


  • public class ParsedEvent<T>
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      ParsedEvent​(java.lang.String service, java.lang.String name, java.lang.String data, com.fasterxml.jackson.core.type.TypeReference<T> tr)  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static <R> ParsedEvent<R> fromEvent​(Event event, com.fasterxml.jackson.core.type.TypeReference<R> tr)  
      boolean isMatch​(java.lang.String service, java.lang.String name)  
      • Methods inherited from class java.lang.Object

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

      • ParsedEvent

        public ParsedEvent​(java.lang.String service,
                           java.lang.String name,
                           java.lang.String data,
                           com.fasterxml.jackson.core.type.TypeReference<T> tr)
                    throws com.fasterxml.jackson.core.JsonProcessingException
        Throws:
        com.fasterxml.jackson.core.JsonProcessingException
    • Method Detail

      • fromEvent

        public static <R> ParsedEvent<R> fromEvent​(Event event,
                                                   com.fasterxml.jackson.core.type.TypeReference<R> tr)
                                            throws com.fasterxml.jackson.core.JsonProcessingException
        Throws:
        com.fasterxml.jackson.core.JsonProcessingException
      • isMatch

        public boolean isMatch​(java.lang.String service,
                               java.lang.String name)