public class InstanceLifecycleEventDTOFactory extends java.lang.Object implements EventDTOFactory
EventDTOFactory for InstanceStartupEvent event type.| Constructor and Description |
|---|
InstanceLifecycleEventDTOFactory() |
| Modifier and Type | Method and Description |
|---|---|
EventDTO |
createDTO(org.ametiste.scm.messaging.data.event.Event event)
Create
EventDTO from Event subtype object. |
public EventDTO createDTO(org.ametiste.scm.messaging.data.event.Event event) throws java.lang.IllegalArgumentException
EventDTOFactoryEventDTO from Event subtype object.createDTO in interface EventDTOFactoryjava.lang.IllegalArgumentException - when subtype of source object not equal to expected type.