All Downloads are FREE. Search and download functionalities are using the official Maven repository.

sdmxdl.web.spi.Monitor Maven / Gradle / Ivy

There is a newer version: 3.0.0-beta.13
Show newest version
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;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy