Package com.powsybl.security.distributed
Class ExternalSecurityAnalysis
- java.lang.Object
-
- com.powsybl.security.distributed.ExternalSecurityAnalysis
-
- All Implemented Interfaces:
SecurityAnalysis
- Direct Known Subclasses:
DistributedSecurityAnalysis
@Deprecated public class ExternalSecurityAnalysis extends Object implements SecurityAnalysis
Deprecated.Use insteadForwardedSecurityAnalysisExecution
, which clarifies the input data for that kind of execution, and tries to differentiate more between aSecurityAnalysis
and its mode of execution.Submits execution of an "itools security-analysis" command to the ComputationManager, for example to remotely execute the security-analysis.- Author:
- Sylvain Leclerc
, Teofil Calin BANC
-
-
Field Summary
Fields Modifier and Type Field Description protected ComputationManager
computationManager
Deprecated.protected ExternalSecurityAnalysisConfig
config
Deprecated.protected List<String>
extensions
Deprecated.protected Network
network
Deprecated.protected Integer
taskCount
Deprecated.
-
Constructor Summary
Constructors Constructor Description ExternalSecurityAnalysis(ExternalSecurityAnalysisConfig config, Network network, ComputationManager computationManager, List<String> extensions)
Deprecated.ExternalSecurityAnalysis(ExternalSecurityAnalysisConfig config, Network network, ComputationManager computationManager, List<String> extensions, int taskCount)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
addInterceptor(SecurityAnalysisInterceptor interceptor)
Deprecated.protected SecurityAnalysisExecutionInput
buildInput(String workingStateId, SecurityAnalysisParameters parameters, ContingenciesProvider contingenciesProvider)
Deprecated.boolean
removeInterceptor(SecurityAnalysisInterceptor interceptor)
Deprecated.CompletableFuture<SecurityAnalysisResult>
run(String workingStateId, SecurityAnalysisParameters parameters, ContingenciesProvider contingenciesProvider)
Deprecated.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.powsybl.security.SecurityAnalysis
runWithLog
-
-
-
-
Field Detail
-
config
protected final ExternalSecurityAnalysisConfig config
Deprecated.
-
network
protected final Network network
Deprecated.
-
computationManager
protected final ComputationManager computationManager
Deprecated.
-
taskCount
protected final Integer taskCount
Deprecated.
-
-
Constructor Detail
-
ExternalSecurityAnalysis
public ExternalSecurityAnalysis(ExternalSecurityAnalysisConfig config, Network network, ComputationManager computationManager, List<String> extensions)
Deprecated.
-
ExternalSecurityAnalysis
public ExternalSecurityAnalysis(ExternalSecurityAnalysisConfig config, Network network, ComputationManager computationManager, List<String> extensions, int taskCount)
Deprecated.
-
-
Method Detail
-
addInterceptor
public void addInterceptor(SecurityAnalysisInterceptor interceptor)
Deprecated.- Specified by:
addInterceptor
in interfaceSecurityAnalysis
-
removeInterceptor
public boolean removeInterceptor(SecurityAnalysisInterceptor interceptor)
Deprecated.- Specified by:
removeInterceptor
in interfaceSecurityAnalysis
-
run
public CompletableFuture<SecurityAnalysisResult> run(String workingStateId, SecurityAnalysisParameters parameters, ContingenciesProvider contingenciesProvider)
Deprecated.- Specified by:
run
in interfaceSecurityAnalysis
-
buildInput
protected SecurityAnalysisExecutionInput buildInput(String workingStateId, SecurityAnalysisParameters parameters, ContingenciesProvider contingenciesProvider)
Deprecated.
-
-