Package org.opennms.netmgt.poller
Interface PollerRequestBuilder
-
- All Known Implementing Classes:
PollerRequestBuilderImpl
public interface PollerRequestBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CompletableFuture<PollerResponse>
execute()
PollerRequestBuilder
withAdaptor(ServiceMonitorAdaptor adaptor)
PollerRequestBuilder
withAttribute(String key, Object value)
PollerRequestBuilder
withAttributes(Map<String,Object> attributes)
PollerRequestBuilder
withMonitor(ServiceMonitor serviceMonitor)
PollerRequestBuilder
withMonitorClassName(String className)
PollerRequestBuilder
withPatternVariables(Map<String,String> patterns)
PollerRequestBuilder
withService(MonitoredService service)
PollerRequestBuilder
withSystemId(String systemId)
PollerRequestBuilder
withTimeToLive(Long ttlInMs)
-
-
-
Method Detail
-
withService
PollerRequestBuilder withService(MonitoredService service)
-
withSystemId
PollerRequestBuilder withSystemId(String systemId)
-
withMonitor
PollerRequestBuilder withMonitor(ServiceMonitor serviceMonitor)
-
withMonitorClassName
PollerRequestBuilder withMonitorClassName(String className)
-
withTimeToLive
PollerRequestBuilder withTimeToLive(Long ttlInMs)
-
withAttribute
PollerRequestBuilder withAttribute(String key, Object value)
-
withAttributes
PollerRequestBuilder withAttributes(Map<String,Object> attributes)
-
withAdaptor
PollerRequestBuilder withAdaptor(ServiceMonitorAdaptor adaptor)
-
withPatternVariables
PollerRequestBuilder withPatternVariables(Map<String,String> patterns)
-
execute
CompletableFuture<PollerResponse> execute()
-
-