Class TestServiceImplementation
java.lang.Object
dev.getelements.elements.sdk.test.element.b.TestServiceImplementation
- All Implemented Interfaces:
TestService
-
Nested Class Summary
Nested classes/interfaces inherited from interface dev.getelements.elements.sdk.test.element.TestService
TestService.MethodEventRecord -
Field Summary
Fields inherited from interface dev.getelements.elements.sdk.test.element.TestService
TEST_ELEMENT_EVENT_1, TEST_ELEMENT_EVENT_2 -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidelementLoaded(Event event) Gets the objects passed into the consumed eventsGets the events registered for consumption and consumedReturns the implementation's package.voidAttempts to get the element registry SPI.voidAttempts to get the element SPI.voidtestEvent1ConsumerWithObject(String value1, String value2) voidtestEvent2ConsumerWithObject(String value1, String value2)
-
Constructor Details
-
TestServiceImplementation
public TestServiceImplementation()
-
-
Method Details
-
getImplementationPackage
Description copied from interface:TestServiceReturns the implementation's package.- Specified by:
getImplementationPackagein interfaceTestService- Returns:
- the implementation's package name.
-
testElementSpi
public void testElementSpi()Description copied from interface:TestServiceAttempts to get the element SPI.- Specified by:
testElementSpiin interfaceTestService
-
testElementRegistrySpi
public void testElementRegistrySpi()Description copied from interface:TestServiceAttempts to get the element registry SPI.- Specified by:
testElementRegistrySpiin interfaceTestService
-
getConsumedEvents
Description copied from interface:TestServiceGets the events registered for consumption and consumed- Specified by:
getConsumedEventsin interfaceTestService- Returns:
- A list of consumed events
-
getConsumedEventObjects
Description copied from interface:TestServiceGets the objects passed into the consumed events- Specified by:
getConsumedEventObjectsin interfaceTestService- Returns:
- the event objects
-
elementLoaded
-
testEvent1ConsumerWithObject
-
testEvent2ConsumerWithObject
-