@Test public void getLogs() { String logs = "I don't know half of you half as well as I should like; and I like less than half of you half as well as you deserve."; SensitivityAnalysisResult results = new SensitivityAnalysisResult(true, Collections.emptyMap(), logs, Collections.emptyList(), Collections.emptyMap()); assertEquals(logs, results.getLogs()); }
public String getLogs() { return logs; }
SensitivityAnalysisResult { public String getLogs() { return logs; } }
SensitivityAnalysisResult { public String getLogs() { return logs; } @JsonCreator  SensitivityAnalysisResult(@JsonProperty("ok") boolean ok,
                                     @JsonProperty("metrics") Map<String, String> metrics,
                                     @JsonProperty("logs") String logs,
                                     @JsonProperty("values") List<SensitivityValue> sensitivityValues,
                                     @JsonProperty("contingenciesValues") Map<String, List<SensitivityValue>> sensitivityValuesContingencies);  SensitivityAnalysisResult(boolean ok,
                                     Map<String, String> metrics,
                                     String logs,
                                     List<SensitivityValue> sensitivityValues); }
SensitivityAnalysisResult { public String getLogs() { return logs; } @JsonCreator  SensitivityAnalysisResult(@JsonProperty("ok") boolean ok,
                                     @JsonProperty("metrics") Map<String, String> metrics,
                                     @JsonProperty("logs") String logs,
                                     @JsonProperty("values") List<SensitivityValue> sensitivityValues,
                                     @JsonProperty("contingenciesValues") Map<String, List<SensitivityValue>> sensitivityValuesContingencies);  SensitivityAnalysisResult(boolean ok,
                                     Map<String, String> metrics,
                                     String logs,
                                     List<SensitivityValue> sensitivityValues); boolean isOk(); Map<String, String> getMetrics(); String getLogs(); Collection<SensitivityValue> getSensitivityValues(); Collection<SensitivityValue> getSensitivityValuesByFunction(SensitivityFunction function); Collection<SensitivityValue> getSensitivityValuesByVariable(SensitivityVariable variable); SensitivityValue getSensitivityValue(SensitivityFunction function, SensitivityVariable variable); SensitivityValue getSensitivityValue(SensitivityFactor factor); boolean contingenciesArePresent(); Map<String, List<SensitivityValue>> getSensitivityValuesContingencies(); Collection<SensitivityValue> getSensitivityValuesByFunction(SensitivityFunction function, String contingencyId); Collection<SensitivityValue> getSensitivityValuesByVariable(SensitivityVariable variable, String contingencyId); SensitivityValue getSensitivityValue(SensitivityFunction function, SensitivityVariable variable, String contingencyId); SensitivityValue getSensitivityValue(SensitivityFactor factor, String contingencyId); static SensitivityAnalysisResult empty(); }
SensitivityAnalysisResult { public String getLogs() { return logs; } @JsonCreator  SensitivityAnalysisResult(@JsonProperty("ok") boolean ok,
                                     @JsonProperty("metrics") Map<String, String> metrics,
                                     @JsonProperty("logs") String logs,
                                     @JsonProperty("values") List<SensitivityValue> sensitivityValues,
                                     @JsonProperty("contingenciesValues") Map<String, List<SensitivityValue>> sensitivityValuesContingencies);  SensitivityAnalysisResult(boolean ok,
                                     Map<String, String> metrics,
                                     String logs,
                                     List<SensitivityValue> sensitivityValues); boolean isOk(); Map<String, String> getMetrics(); String getLogs(); Collection<SensitivityValue> getSensitivityValues(); Collection<SensitivityValue> getSensitivityValuesByFunction(SensitivityFunction function); Collection<SensitivityValue> getSensitivityValuesByVariable(SensitivityVariable variable); SensitivityValue getSensitivityValue(SensitivityFunction function, SensitivityVariable variable); SensitivityValue getSensitivityValue(SensitivityFactor factor); boolean contingenciesArePresent(); Map<String, List<SensitivityValue>> getSensitivityValuesContingencies(); Collection<SensitivityValue> getSensitivityValuesByFunction(SensitivityFunction function, String contingencyId); Collection<SensitivityValue> getSensitivityValuesByVariable(SensitivityVariable variable, String contingencyId); SensitivityValue getSensitivityValue(SensitivityFunction function, SensitivityVariable variable, String contingencyId); SensitivityValue getSensitivityValue(SensitivityFactor factor, String contingencyId); static SensitivityAnalysisResult empty();  }