Package com.cumulocity.me.sdk.client.devicecontrol

Examples of com.cumulocity.me.sdk.client.devicecontrol.OperationFilter


        }
    }

    @When("^I get all operations for device '([^']*)'$")
    public void iGetAllOperationsForDeviceX(int deviceNum) throws Exception {
        OperationFilter filter = new OperationFilter().byDevice(getMoId(deviceNum).getValue());
        allOperations = (OperationCollectionRepresentation) deviceControlResource.getOperationsByFilter(filter).get();
    }
View Full Code Here


        allOperations = (OperationCollectionRepresentation) deviceControlResource.getOperations().get();
    }

    @When("^I query operations with status '([^']*)'$")
    public void iQueryOperationsWithStatusX(String status) throws Exception {
        OperationFilter filter = new OperationFilter().byStatus(OperationStatus.valueOf(status));
        allOperations = (OperationCollectionRepresentation) deviceControlResource.getOperationsByFilter(filter).get();
    }
View Full Code Here

        }
    }

    @When("^I get all operations for agent '([^']*)'$")
    public void iGetAllOperationsForAgent(int agentNum) throws SDKException {
        OperationFilter filter = new OperationFilter().byAgent(getMoId(agentNum).getValue());
        allOperations = (OperationCollectionRepresentation) deviceControlResource.getOperationsByFilter(filter).get();
    }
View Full Code Here

TOP

Related Classes of com.cumulocity.me.sdk.client.devicecontrol.OperationFilter

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.