com.farao_community.farao.cse.adapter.app.model.UserConfiguration Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of gridcapa-cse-adapter-app Show documentation
Show all versions of gridcapa-cse-adapter-app Show documentation
Application that turns a RabbitMQ request from a task to a CSE request
The newest version!
/*
* Copyright (c) 2022, RTE (http://www.rte-france.com)
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
package com.farao_community.farao.cse.adapter.app.model;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.List;
public class UserConfiguration {
private final Double initialDichotomyIndex;
private final List manualForcedPrasIds;
private final Integer maximumDichotomiesNumber;
@JsonCreator
public UserConfiguration(@JsonProperty("initialDichotomyIndex") Double initialDichotomyIndex,
@JsonProperty("manualForcedPrasIds") List manualForcedPrasIds,
@JsonProperty("maximumDichotomiesNumber") Integer maximumDichotomiesNumber) {
this.initialDichotomyIndex = initialDichotomyIndex;
this.manualForcedPrasIds = manualForcedPrasIds;
this.maximumDichotomiesNumber = maximumDichotomiesNumber;
}
public Double getInitialDichotomyIndex() {
return initialDichotomyIndex;
}
public List getManualForcedPrasIds() {
return manualForcedPrasIds;
}
public Integer getMaximumDichotomiesNumber() {
return maximumDichotomiesNumber;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy