Class TestServiceImplementation
java.lang.Object
dev.getelements.elements.sdk.test.element.a.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
FieldsFields 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 TypeMethodDescriptionvoid
elementLoaded
(Event event) Gets the objects passed into the consumed eventsGets the events registered for consumption and consumedReturns the implementation's package.void
Attempts to get the element registry SPI.void
Attempts to get the element SPI.void
testEvent1ConsumerWithObject
(String value1, String value2) void
testEvent2ConsumerWithObject
(String value1, String value2)
-
Field Details
-
TEST_CONFIGURATION_PARAMETER
- See Also:
-
-
Constructor Details
-
TestServiceImplementation
public TestServiceImplementation()
-
-
Method Details
-
getImplementationPackage
Description copied from interface:TestService
Returns the implementation's package.- Specified by:
getImplementationPackage
in interfaceTestService
- 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 interfaceTestService
-
testElementRegistrySpi
public void testElementRegistrySpi()Description copied from interface:TestService
Attempts to get the element registry SPI.- Specified by:
testElementRegistrySpi
in interfaceTestService
-
getConsumedEvents
Description copied from interface:TestService
Gets the events registered for consumption and consumed- Specified by:
getConsumedEvents
in interfaceTestService
- Returns:
- A list of consumed events
-
getConsumedEventObjects
Description copied from interface:TestService
Gets the objects passed into the consumed events- Specified by:
getConsumedEventObjects
in interfaceTestService
- Returns:
- the event objects
-
elementLoaded
-
testEvent1ConsumerWithObject
-
testEvent2ConsumerWithObject
-