public class ExternalSecurityAnalysis extends java.lang.Object implements SecurityAnalysis
Modifier and Type | Class and Description |
---|---|
protected class |
ExternalSecurityAnalysis.SecurityAnalysisExecutionHandler
Execution handler for external process.
|
Modifier and Type | Field and Description |
---|---|
protected ComputationManager |
computationManager |
protected ExternalSecurityAnalysisConfig |
config |
protected java.util.List<java.lang.String> |
extensions |
protected Network |
network |
protected java.lang.Integer |
taskCount |
Constructor and Description |
---|
ExternalSecurityAnalysis(ExternalSecurityAnalysisConfig config,
Network network,
ComputationManager computationManager,
java.util.List<java.lang.String> extensions) |
ExternalSecurityAnalysis(ExternalSecurityAnalysisConfig config,
Network network,
ComputationManager computationManager,
java.util.List<java.lang.String> extensions,
int taskCount) |
Modifier and Type | Method and Description |
---|---|
void |
addInterceptor(SecurityAnalysisInterceptor interceptor) |
boolean |
removeInterceptor(SecurityAnalysisInterceptor interceptor) |
java.util.concurrent.CompletableFuture<SecurityAnalysisResult> |
run(java.lang.String workingStateId,
SecurityAnalysisParameters parameters,
ContingenciesProvider contingenciesProvider) |
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