Modifier and Type | Method and Description |
---|---|
static OperationRepresentation |
Operations.asExecutingOperation(com.cumulocity.model.idtype.GId id) |
static OperationRepresentation |
Operations.asFailedOperation(com.cumulocity.model.idtype.GId id,
String failureCause) |
static OperationRepresentation |
Operations.asOperation(com.cumulocity.model.idtype.GId id) |
static OperationRepresentation |
Operations.asOperationWithStatus(com.cumulocity.model.idtype.GId id,
com.cumulocity.model.operation.OperationStatus status) |
static OperationRepresentation |
Operations.asSuccessOperation(com.cumulocity.model.idtype.GId id) |
OperationRepresentation |
OperationRepresentation.OperationRepresentationBuilder.build() |
static OperationRepresentation |
Operations.createNewMeasurementOperation()
Returns operation that triggers a new measurement to be made.
|
Modifier and Type | Method and Description |
---|---|
List<OperationRepresentation> |
OperationCollectionRepresentation.getOperations() |
Iterator<OperationRepresentation> |
OperationCollectionRepresentation.iterator() |
Modifier and Type | Method and Description |
---|---|
void |
OperationCollectionRepresentation.setOperations(List<OperationRepresentation> operations) |
Modifier and Type | Method and Description |
---|---|
OperationRepresentation |
BulkOperationRepresentation.getOperationPrototype() |
Modifier and Type | Method and Description |
---|---|
BulkOperationRepresentation.BulkOperationRepresentationBuilder |
BulkOperationRepresentation.BulkOperationRepresentationBuilder.operationPrototype(OperationRepresentation operationPrototype) |
void |
BulkOperationRepresentation.setOperationPrototype(OperationRepresentation operationPrototype) |
Modifier and Type | Method and Description |
---|---|
OperationRepresentation |
DeviceControlApi.create(OperationRepresentation operation)
Creates operation in the platform.
|
OperationRepresentation |
DeviceControlApiImpl.create(OperationRepresentation operation) |
OperationRepresentation |
DeviceControlApi.getOperation(com.cumulocity.model.idtype.GId gid)
Gets operation by id
|
OperationRepresentation |
DeviceControlApiImpl.getOperation(com.cumulocity.model.idtype.GId gid) |
OperationRepresentation |
DeviceControlApi.update(OperationRepresentation operation)
Updates operation in the platform.
|
OperationRepresentation |
DeviceControlApiImpl.update(OperationRepresentation operation) |
Modifier and Type | Method and Description |
---|---|
Iterable<OperationRepresentation> |
PagedOperationCollectionRepresentation.allPages() |
Iterable<OperationRepresentation> |
PagedOperationCollectionRepresentation.elements(int limit) |
Subscriber<com.cumulocity.model.idtype.GId,OperationRepresentation> |
DeviceControlApi.getNotificationsSubscriber()
Gets the notifications subscriber, which allows to receive newly created operations for agent.
|
Subscriber<com.cumulocity.model.idtype.GId,OperationRepresentation> |
DeviceControlApiImpl.getNotificationsSubscriber() |
Modifier and Type | Method and Description |
---|---|
OperationRepresentation |
DeviceControlApi.create(OperationRepresentation operation)
Creates operation in the platform.
|
OperationRepresentation |
DeviceControlApiImpl.create(OperationRepresentation operation) |
OperationRepresentation |
DeviceControlApi.update(OperationRepresentation operation)
Updates operation in the platform.
|
OperationRepresentation |
DeviceControlApiImpl.update(OperationRepresentation operation) |
Future |
DeviceControlApi.updateAsync(OperationRepresentation operation)
Updates operation in the platform.
|
Future |
DeviceControlApiImpl.updateAsync(OperationRepresentation operation) |
Constructor and Description |
---|
PagedOperationCollectionRepresentation(OperationCollectionRepresentation collection,
PagedCollectionResource<OperationRepresentation,? extends OperationCollectionRepresentation> collectionResource) |
Modifier and Type | Method and Description |
---|---|
boolean |
OperationsQueue.add(OperationRepresentation arg0) |
boolean |
OperationProcessor.process(OperationRepresentation operation)
Processes operation
|
Modifier and Type | Method and Description |
---|---|
boolean |
OperationsQueue.addAll(Collection<? extends OperationRepresentation> arg0) |
Modifier and Type | Method and Description |
---|---|
Subscription<com.cumulocity.model.idtype.GId> |
OperationNotificationSubscriber.subscribe(com.cumulocity.model.idtype.GId agentId,
SubscribeOperationListener subscribeOperationListener,
SubscriptionListener<com.cumulocity.model.idtype.GId,OperationRepresentation> handler,
boolean autoRetry) |
Subscription<com.cumulocity.model.idtype.GId> |
OperationNotificationSubscriber.subscribe(com.cumulocity.model.idtype.GId agentId,
SubscriptionListener<com.cumulocity.model.idtype.GId,OperationRepresentation> handler) |
Modifier and Type | Method and Description |
---|---|
OperationRepresentation |
MeasurementRequestTask.getNewMeasurementOperation() |
Copyright © 2020 (C) Cumulocity GmbH. All rights reserved.