类 MockEvent

    • 构造器详细资料

      • MockEvent

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

        public MockEvent​(QName name,
                         Serializable value)
        Create a new MockEvent with the given name and value.
        参数:
        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.
        参数:
        name - the name of the event
      • MockEvent

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