se.l4.vibe.internal.builder.ProbeBuilderImpl Maven / Gradle / Ivy
package se.l4.vibe.internal.builder;
import se.l4.vibe.backend.VibeBackend;
import se.l4.vibe.builder.ProbeBuilder;
import se.l4.vibe.probes.Probe;
/**
* Exporter for probes.
*
* @author Andreas Holstenson
*
* @param
*/
public class ProbeBuilderImpl
extends AbstractBuilder>
implements ProbeBuilder
{
private final VibeBackend backend;
private final Probe probe;
public ProbeBuilderImpl(VibeBackend backend, Probe probe)
{
this.backend = backend;
this.probe = probe;
}
@Override
public Probe export()
{
verify();
backend.export(path, probe);
return probe;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy