Package io.perfana.helloworld.event
Class HelloWorldEvent
- java.lang.Object
-
- io.perfana.eventscheduler.api.EventAdapter<HelloWorldEventContext>
-
- io.perfana.helloworld.event.HelloWorldEvent
-
- All Implemented Interfaces:
io.perfana.eventscheduler.api.Event
public class HelloWorldEvent extends io.perfana.eventscheduler.api.EventAdapter<HelloWorldEventContext>
-
-
Constructor Summary
Constructors Constructor Description HelloWorldEvent(HelloWorldEventContext eventContext, io.perfana.eventscheduler.api.config.TestContext testContext, io.perfana.eventscheduler.api.message.EventMessageBus messageBus, io.perfana.eventscheduler.api.EventLogger logger)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidafterTest()Collection<String>allowedCustomEvents()voidbeforeTest()voidcustomEvent(io.perfana.eventscheduler.api.CustomEvent scheduleEvent)voidkeepAlive()
-
-
-
Constructor Detail
-
HelloWorldEvent
public HelloWorldEvent(HelloWorldEventContext eventContext, io.perfana.eventscheduler.api.config.TestContext testContext, io.perfana.eventscheduler.api.message.EventMessageBus messageBus, io.perfana.eventscheduler.api.EventLogger logger)
-
-
Method Detail
-
allowedCustomEvents
public Collection<String> allowedCustomEvents()
-
beforeTest
public void beforeTest()
- Specified by:
beforeTestin interfaceio.perfana.eventscheduler.api.Event- Overrides:
beforeTestin classio.perfana.eventscheduler.api.EventAdapter<HelloWorldEventContext>
-
afterTest
public void afterTest()
- Specified by:
afterTestin interfaceio.perfana.eventscheduler.api.Event- Overrides:
afterTestin classio.perfana.eventscheduler.api.EventAdapter<HelloWorldEventContext>
-
keepAlive
public void keepAlive()
- Specified by:
keepAlivein interfaceio.perfana.eventscheduler.api.Event- Overrides:
keepAlivein classio.perfana.eventscheduler.api.EventAdapter<HelloWorldEventContext>
-
customEvent
public void customEvent(io.perfana.eventscheduler.api.CustomEvent scheduleEvent)
- Specified by:
customEventin interfaceio.perfana.eventscheduler.api.Event- Overrides:
customEventin classio.perfana.eventscheduler.api.EventAdapter<HelloWorldEventContext>
-
-