Search in sources :

Example 1 with SetConfigurationObjectRequestBuilder

use of org.opensmartgridplatform.cucumber.platform.smartmetering.support.ws.smartmetering.bundle.SetConfigurationObjectRequestBuilder in project open-smart-grid-platform by OSGP.

the class BundledSetActivityCalendarSteps method theBundleRequestContainsASetConfigurationObjectAction.

@Given("^the bundle request contains a set activity calendar action with parameters$")
public void theBundleRequestContainsASetConfigurationObjectAction(final Map<String, String> parameters) throws Throwable {
    final SetConfigurationObjectRequest action = new SetConfigurationObjectRequestBuilder().fromParameterMap(parameters).build();
    this.addActionToBundleRequest(action);
}
Also used : SetConfigurationObjectRequest(org.opensmartgridplatform.adapter.ws.schema.smartmetering.bundle.SetConfigurationObjectRequest) SetConfigurationObjectRequestBuilder(org.opensmartgridplatform.cucumber.platform.smartmetering.support.ws.smartmetering.bundle.SetConfigurationObjectRequestBuilder) Given(io.cucumber.java.en.Given)

Example 2 with SetConfigurationObjectRequestBuilder

use of org.opensmartgridplatform.cucumber.platform.smartmetering.support.ws.smartmetering.bundle.SetConfigurationObjectRequestBuilder in project open-smart-grid-platform by OSGP.

the class BundledSetConfigurationObjectSteps method theBundleRequestContainsASetConfigurationObjectAction.

@Given("^the bundle request contains a set configuration object action$")
public void theBundleRequestContainsASetConfigurationObjectAction() throws Throwable {
    final SetConfigurationObjectRequest action = new SetConfigurationObjectRequestBuilder().withDefaults().build();
    this.addActionToBundleRequest(action);
}
Also used : SetConfigurationObjectRequest(org.opensmartgridplatform.adapter.ws.schema.smartmetering.bundle.SetConfigurationObjectRequest) SetConfigurationObjectRequestBuilder(org.opensmartgridplatform.cucumber.platform.smartmetering.support.ws.smartmetering.bundle.SetConfigurationObjectRequestBuilder) Given(io.cucumber.java.en.Given)

Example 3 with SetConfigurationObjectRequestBuilder

use of org.opensmartgridplatform.cucumber.platform.smartmetering.support.ws.smartmetering.bundle.SetConfigurationObjectRequestBuilder in project open-smart-grid-platform by OSGP.

the class BundledSetConfigurationObjectSteps method theBundleRequestContainsASetConfigurationObjectAction.

@Given("^the bundle request contains a set configuration object action with parameters$")
public void theBundleRequestContainsASetConfigurationObjectAction(final Map<String, String> parameters) throws Throwable {
    final SetConfigurationObjectRequest action = new SetConfigurationObjectRequestBuilder().fromParameterMap(parameters).build();
    this.addActionToBundleRequest(action);
}
Also used : SetConfigurationObjectRequest(org.opensmartgridplatform.adapter.ws.schema.smartmetering.bundle.SetConfigurationObjectRequest) SetConfigurationObjectRequestBuilder(org.opensmartgridplatform.cucumber.platform.smartmetering.support.ws.smartmetering.bundle.SetConfigurationObjectRequestBuilder) Given(io.cucumber.java.en.Given)

Aggregations

Given (io.cucumber.java.en.Given)3 SetConfigurationObjectRequest (org.opensmartgridplatform.adapter.ws.schema.smartmetering.bundle.SetConfigurationObjectRequest)3 SetConfigurationObjectRequestBuilder (org.opensmartgridplatform.cucumber.platform.smartmetering.support.ws.smartmetering.bundle.SetConfigurationObjectRequestBuilder)3