Package com.powsybl.security
Class SecurityAnalysisResultBuilder.PreContingencyResultBuilder
- java.lang.Object
-
- com.powsybl.security.SecurityAnalysisResultBuilder.AbstractLimitViolationsResultBuilder<SecurityAnalysisResultBuilder.PreContingencyResultBuilder>
-
- com.powsybl.security.SecurityAnalysisResultBuilder.PreContingencyResultBuilder
-
- Enclosing class:
- SecurityAnalysisResultBuilder
public class SecurityAnalysisResultBuilder.PreContingencyResultBuilder extends SecurityAnalysisResultBuilder.AbstractLimitViolationsResultBuilder<SecurityAnalysisResultBuilder.PreContingencyResultBuilder>
Builder for the pre-contingency result
-
-
Field Summary
-
Fields inherited from class com.powsybl.security.SecurityAnalysisResultBuilder.AbstractLimitViolationsResultBuilder
branchResults, busResults, resultContext, threeWindingsTransformerResults, violations
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SecurityAnalysisResultBuilder
endPreContingency()
Finalize the creation of the PreContingencyResult instanceSecurityAnalysisResultBuilder.PreContingencyResultBuilder
setStatus(LoadFlowResult.ComponentResult.Status status)
-
Methods inherited from class com.powsybl.security.SecurityAnalysisResultBuilder.AbstractLimitViolationsResultBuilder
addBranchResult, addBusResult, addThreeWindingsTransformerResult, addViolation, addViolation, addViolations, addViolations
-
-
-
-
Method Detail
-
setStatus
public SecurityAnalysisResultBuilder.PreContingencyResultBuilder setStatus(LoadFlowResult.ComponentResult.Status status)
-
endPreContingency
public SecurityAnalysisResultBuilder endPreContingency()
Finalize the creation of the PreContingencyResult instance- Returns:
- the parent
SecurityAnalysisResultBuilder
instance.
-
-