io.logspace.jvm.agent.api.event.DefaultEventBuilder Maven / Gradle / Ivy
The newest version!
/**
* Logspace
* Copyright (c) 2015 Indoqa Software Design und Beratung GmbH. All rights reserved.
* This program and the accompanying materials are made available under the terms of
* the Eclipse Public License Version 1.0, which accompanies this distribution and
* is available at http://www.eclipse.org/legal/epl-v10.html.
*/
package io.logspace.jvm.agent.api.event;
/**
* Default implementation of an event builder which sets an empty type.
*/
public class DefaultEventBuilder extends AbstractEventBuilder {
public DefaultEventBuilder(EventBuilderData eventBuilderData) {
super(eventBuilderData);
}
public DefaultEventBuilder(String id, String system, String marker) {
this(new EventBuilderData(id, system, marker));
}
@Override
protected String getType() {
return null;
}
}