Class CollectorRequestBuilderImpl
- java.lang.Object
-
- org.opennms.netmgt.collection.client.rpc.CollectorRequestBuilderImpl
-
- All Implemented Interfaces:
CollectorRequestBuilder
public class CollectorRequestBuilderImpl extends java.lang.Object implements CollectorRequestBuilder
-
-
Constructor Summary
Constructors Constructor Description CollectorRequestBuilderImpl(LocationAwareCollectorClientImpl client)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.concurrent.CompletableFuture<CollectionSet>
execute()
CollectorRequestBuilder
withAgent(CollectionAgent agent)
CollectorRequestBuilder
withAttribute(java.lang.String key, java.lang.Object value)
CollectorRequestBuilder
withAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes)
CollectorRequestBuilder
withCollector(ServiceCollector collector)
CollectorRequestBuilder
withCollectorClassName(java.lang.String className)
CollectorRequestBuilder
withSystemId(java.lang.String systemId)
CollectorRequestBuilder
withTimeToLive(java.lang.Long ttlInMs)
-
-
-
Constructor Detail
-
CollectorRequestBuilderImpl
public CollectorRequestBuilderImpl(LocationAwareCollectorClientImpl client)
-
-
Method Detail
-
withAgent
public CollectorRequestBuilder withAgent(CollectionAgent agent)
- Specified by:
withAgent
in interfaceCollectorRequestBuilder
-
withSystemId
public CollectorRequestBuilder withSystemId(java.lang.String systemId)
- Specified by:
withSystemId
in interfaceCollectorRequestBuilder
-
withCollector
public CollectorRequestBuilder withCollector(ServiceCollector collector)
- Specified by:
withCollector
in interfaceCollectorRequestBuilder
-
withCollectorClassName
public CollectorRequestBuilder withCollectorClassName(java.lang.String className)
- Specified by:
withCollectorClassName
in interfaceCollectorRequestBuilder
-
withTimeToLive
public CollectorRequestBuilder withTimeToLive(java.lang.Long ttlInMs)
- Specified by:
withTimeToLive
in interfaceCollectorRequestBuilder
-
withAttribute
public CollectorRequestBuilder withAttribute(java.lang.String key, java.lang.Object value)
- Specified by:
withAttribute
in interfaceCollectorRequestBuilder
-
withAttributes
public CollectorRequestBuilder withAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes)
- Specified by:
withAttributes
in interfaceCollectorRequestBuilder
-
execute
public java.util.concurrent.CompletableFuture<CollectionSet> execute()
- Specified by:
execute
in interfaceCollectorRequestBuilder
-
-