Class TestServiceImplementation

java.lang.Object
dev.getelements.elements.sdk.test.element.a.TestServiceImplementation
All Implemented Interfaces:
TestService

public class TestServiceImplementation extends Object implements TestService
  • Field Details

  • Constructor Details

    • TestServiceImplementation

      public TestServiceImplementation()
  • Method Details

    • getImplementationPackage

      public String getImplementationPackage()
      Description copied from interface: TestService
      Returns the implementation's package.
      Specified by:
      getImplementationPackage in interface TestService
      Returns:
      the implementation's package name.
    • testElementSpi

      public void testElementSpi()
      Description copied from interface: TestService
      Attempts to get the element SPI.
      Specified by:
      testElementSpi in interface TestService
    • testElementRegistrySpi

      public void testElementRegistrySpi()
      Description copied from interface: TestService
      Attempts to get the element registry SPI.
      Specified by:
      testElementRegistrySpi in interface TestService
    • getConsumedEvents

      public List<Event> getConsumedEvents()
      Description copied from interface: TestService
      Gets the events registered for consumption and consumed
      Specified by:
      getConsumedEvents in interface TestService
      Returns:
      A list of consumed events
    • getConsumedEventObjects

      public List<TestService.MethodEventRecord> getConsumedEventObjects()
      Description copied from interface: TestService
      Gets the objects passed into the consumed events
      Specified by:
      getConsumedEventObjects in interface TestService
      Returns:
      the event objects
    • elementLoaded

      public void elementLoaded(Event event)
    • testEvent1ConsumerWithObject

      public void testEvent1ConsumerWithObject(String value1, String value2)
    • testEvent2ConsumerWithObject

      public void testEvent2ConsumerWithObject(String value1, String value2)