Class JsonSensitivityAnalysisResultExporter
- java.lang.Object
-
- com.powsybl.sensitivity.converter.JsonSensitivityAnalysisResultExporter
-
- All Implemented Interfaces:
SensitivityAnalysisResultExporter
@AutoService(SensitivityAnalysisResultExporter.class) public class JsonSensitivityAnalysisResultExporter extends Object implements SensitivityAnalysisResultExporter
ASensitivityAnalysisResultExporter
implementation which export the result in JSON- Author:
- Sebastien Murgey <sebastien.murgey at rte-france.com>
-
-
Constructor Summary
Constructors Constructor Description JsonSensitivityAnalysisResultExporter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
export(SensitivityAnalysisResult result, Writer writer)
Export a result of a sensitivity analysisString
getComment()
Get a brief description of this exporterString
getFormat()
Get the format of this exporter
-
-
-
Method Detail
-
getFormat
public String getFormat()
Description copied from interface:SensitivityAnalysisResultExporter
Get the format of this exporter- Specified by:
getFormat
in interfaceSensitivityAnalysisResultExporter
- Returns:
- the format name of this exporter
-
getComment
public String getComment()
Description copied from interface:SensitivityAnalysisResultExporter
Get a brief description of this exporter- Specified by:
getComment
in interfaceSensitivityAnalysisResultExporter
- Returns:
- a brief description of this exporter
-
export
public void export(SensitivityAnalysisResult result, Writer writer)
Description copied from interface:SensitivityAnalysisResultExporter
Export a result of a sensitivity analysis- Specified by:
export
in interfaceSensitivityAnalysisResultExporter
- Parameters:
result
- The result of the sensitivity analysiswriter
- The writer used for the export
-
-