sdmxdl.web.spi.Monitor Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sdmx-dl-api Show documentation
Show all versions of sdmx-dl-api Show documentation
Easily download official statistics - API
package sdmxdl.web.spi;
import lombok.NonNull;
import nbbrd.design.ThreadSafe;
import nbbrd.service.Quantifier;
import nbbrd.service.ServiceDefinition;
import nbbrd.service.ServiceId;
import sdmxdl.web.MonitorReport;
import sdmxdl.web.WebSource;
import java.io.IOException;
@ServiceDefinition(
quantifier = Quantifier.MULTIPLE,
loaderName = "internal.util.MonitorLoader"
)
@ThreadSafe
public interface Monitor {
@ServiceId
@NonNull String getMonitorId();
@NonNull String getMonitorUriScheme();
@NonNull MonitorReport getReport(
@NonNull WebSource source,
@NonNull WebContext context
) throws IOException, IllegalArgumentException;
}