Search in sources :

Example 1 with NewEventEntity

use of io.gravitee.management.model.NewEventEntity in project gravitee-management-rest-api by gravitee-io.

the class EventServiceImpl method create.

@Override
public EventEntity create(EventType type, String payload, Map<String, String> properties) {
    NewEventEntity event = new NewEventEntity();
    event.setType(type);
    event.setPayload(payload);
    event.setProperties(properties);
    return create(event);
}
Also used : NewEventEntity(io.gravitee.management.model.NewEventEntity)

Aggregations

NewEventEntity (io.gravitee.management.model.NewEventEntity)1