com.farao_community.farao.cse.adapter.app.CseExportAdapterConfiguration 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;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
import org.springframework.context.annotation.Configuration;
/**
* @author Joris Mancini {@literal }
*/
@Configuration
@ConditionalOnProperty(prefix = "cse-adapter", value = "exchange-type", havingValue = "export")
public class CseExportAdapterConfiguration {
@Value("${cse-adapter.process-type}")
private String processType;
public ProcessType getProcessType() {
return ProcessType.valueOf(processType);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy