ForwardedSecurityAnalysisExecution
, which clarifies the input data for that kind
of execution, and tries to differentiate more between a SecurityAnalysis
and its mode of execution.@Deprecated public class ExternalSecurityAnalysis extends java.lang.Object implements SecurityAnalysis
Modifier and Type | Field and Description |
---|---|
protected ComputationManager |
computationManager
Deprecated.
|
protected ExternalSecurityAnalysisConfig |
config
Deprecated.
|
protected java.util.List<java.lang.String> |
extensions
Deprecated.
|
protected Network |
network
Deprecated.
|
protected java.lang.Integer |
taskCount
Deprecated.
|
Constructor and Description |
---|
ExternalSecurityAnalysis(ExternalSecurityAnalysisConfig config,
Network network,
ComputationManager computationManager,
java.util.List<java.lang.String> extensions)
Deprecated.
|
ExternalSecurityAnalysis(ExternalSecurityAnalysisConfig config,
Network network,
ComputationManager computationManager,
java.util.List<java.lang.String> extensions,
int taskCount)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
addInterceptor(SecurityAnalysisInterceptor interceptor)
Deprecated.
|
protected SecurityAnalysisExecutionInput |
buildInput(java.lang.String workingStateId,
SecurityAnalysisParameters parameters,
ContingenciesProvider contingenciesProvider)
Deprecated.
|
boolean |
removeInterceptor(SecurityAnalysisInterceptor interceptor)
Deprecated.
|
java.util.concurrent.CompletableFuture<SecurityAnalysisResult> |
run(java.lang.String workingStateId,
SecurityAnalysisParameters parameters,
ContingenciesProvider contingenciesProvider)
Deprecated.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
runWithLog
protected final ExternalSecurityAnalysisConfig config
protected final Network network
protected final ComputationManager computationManager
protected final java.util.List<java.lang.String> extensions
protected final java.lang.Integer taskCount
public ExternalSecurityAnalysis(ExternalSecurityAnalysisConfig config, Network network, ComputationManager computationManager, java.util.List<java.lang.String> extensions)
public ExternalSecurityAnalysis(ExternalSecurityAnalysisConfig config, Network network, ComputationManager computationManager, java.util.List<java.lang.String> extensions, int taskCount)
public void addInterceptor(SecurityAnalysisInterceptor interceptor)
addInterceptor
in interface SecurityAnalysis
public boolean removeInterceptor(SecurityAnalysisInterceptor interceptor)
removeInterceptor
in interface SecurityAnalysis
public java.util.concurrent.CompletableFuture<SecurityAnalysisResult> run(java.lang.String workingStateId, SecurityAnalysisParameters parameters, ContingenciesProvider contingenciesProvider)
run
in interface SecurityAnalysis
protected SecurityAnalysisExecutionInput buildInput(java.lang.String workingStateId, SecurityAnalysisParameters parameters, ContingenciesProvider contingenciesProvider)