Class MockEvent

    • Constructor Detail

      • MockEvent

        public MockEvent​(QName name)
        Create a new MockEvent with the given name.
        Parameters:
        name - the name of the event
      • MockEvent

        public MockEvent​(QName name,
                         Serializable value)
        Create a new MockEvent with the given name and value.
        Parameters:
        name - the name of the event
        value - the associated payload of the event
      • MockEvent

        public MockEvent​(String name)
        Create a new MockEvent with the given name.
        Parameters:
        name - the name of the event
      • MockEvent

        public MockEvent​(String name,
                         Serializable value)
        Create a new MockEvent with the given name and value.
        Parameters:
        name - the name of the event
        value - the associated payload of the event