Class PollerRequestBuilderImpl
- java.lang.Object
-
- org.opennms.netmgt.poller.client.rpc.PollerRequestBuilderImpl
-
- All Implemented Interfaces:
PollerRequestBuilder
public class PollerRequestBuilderImpl extends java.lang.Object implements PollerRequestBuilder
-
-
Constructor Summary
Constructors Constructor Description PollerRequestBuilderImpl(LocationAwarePollerClientImpl client)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.concurrent.CompletableFuture<PollerResponse>
execute()
PollerRequestBuilder
withAdaptor(ServiceMonitorAdaptor adaptor)
PollerRequestBuilder
withAttribute(java.lang.String key, java.lang.Object value)
PollerRequestBuilder
withAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes)
PollerRequestBuilder
withMonitor(ServiceMonitor serviceMonitor)
PollerRequestBuilder
withMonitorClassName(java.lang.String className)
PollerRequestBuilder
withPatternVariables(java.util.Map<java.lang.String,java.lang.String> patternVariables)
PollerRequestBuilder
withService(MonitoredService service)
PollerRequestBuilder
withSystemId(java.lang.String systemId)
PollerRequestBuilder
withTimeToLive(java.lang.Long ttlInMs)
-
-
-
Constructor Detail
-
PollerRequestBuilderImpl
public PollerRequestBuilderImpl(LocationAwarePollerClientImpl client)
-
-
Method Detail
-
withService
public PollerRequestBuilder withService(MonitoredService service)
- Specified by:
withService
in interfacePollerRequestBuilder
-
withSystemId
public PollerRequestBuilder withSystemId(java.lang.String systemId)
- Specified by:
withSystemId
in interfacePollerRequestBuilder
-
withMonitor
public PollerRequestBuilder withMonitor(ServiceMonitor serviceMonitor)
- Specified by:
withMonitor
in interfacePollerRequestBuilder
-
withMonitorClassName
public PollerRequestBuilder withMonitorClassName(java.lang.String className)
- Specified by:
withMonitorClassName
in interfacePollerRequestBuilder
-
withTimeToLive
public PollerRequestBuilder withTimeToLive(java.lang.Long ttlInMs)
- Specified by:
withTimeToLive
in interfacePollerRequestBuilder
-
withAttribute
public PollerRequestBuilder withAttribute(java.lang.String key, java.lang.Object value)
- Specified by:
withAttribute
in interfacePollerRequestBuilder
-
withAttributes
public PollerRequestBuilder withAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes)
- Specified by:
withAttributes
in interfacePollerRequestBuilder
-
withAdaptor
public PollerRequestBuilder withAdaptor(ServiceMonitorAdaptor adaptor)
- Specified by:
withAdaptor
in interfacePollerRequestBuilder
-
withPatternVariables
public PollerRequestBuilder withPatternVariables(java.util.Map<java.lang.String,java.lang.String> patternVariables)
- Specified by:
withPatternVariables
in interfacePollerRequestBuilder
-
execute
public java.util.concurrent.CompletableFuture<PollerResponse> execute()
- Specified by:
execute
in interfacePollerRequestBuilder
-
-