public final class SecurityAnalysisExecutionHandlers
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static ExecutionHandler<SecurityAnalysisResult> |
distributed(SecurityAnalysisExecutionInput input,
int subtaskCount)
Create an
ExecutionHandler which distributes the security analysis execution through multiple calls
to itools security-analysis, as specified in argument. |
static void |
distributedOptions(java.nio.file.Path workingDir,
SecurityAnalysisCommandOptions options,
int taskCount) |
static ExecutionHandler<SecurityAnalysisResultWithLog> |
distributedWithLog(SecurityAnalysisExecutionInput input,
int subtaskCount)
Create an
ExecutionHandler which distributes the security analysis execution through multiple calls
to itools security-analysis, as specified in argument. |
static void |
distributedWithLogsOptions(java.nio.file.Path workingDir,
SecurityAnalysisCommandOptions options,
int taskCount) |
static ExecutionHandler<SecurityAnalysisResult> |
forwarded(SecurityAnalysisExecutionInput input)
Create an
ExecutionHandler which forwards the security analysis execution through a call
to itools security-analysis. |
static ExecutionHandler<SecurityAnalysisResult> |
forwarded(SecurityAnalysisExecutionInput input,
java.lang.Integer forwardedTaskCount)
Create an
ExecutionHandler which forwards the security analysis execution through a call
to itools security-analysis, with the option --task-count. |
static void |
forwardedOptions(java.nio.file.Path workingDir,
SecurityAnalysisCommandOptions options,
java.lang.Integer taskCount) |
static ExecutionHandler<SecurityAnalysisResultWithLog> |
forwardedWithLogs(SecurityAnalysisExecutionInput input)
Create an
ExecutionHandler which forwards the security analysis execution through a call
to itools security-analysis. |
static ExecutionHandler<SecurityAnalysisResultWithLog> |
forwardedWithLogs(SecurityAnalysisExecutionInput input,
java.lang.Integer forwardedTaskCount)
Create an
ExecutionHandler which forwards the security analysis execution through a call
to itools security-analysis, with the option --task-count. |
static void |
forwardedWithLogsOptions(java.nio.file.Path workingDir,
SecurityAnalysisCommandOptions options,
java.lang.Integer taskCount) |
static java.nio.file.Path |
getLogPath(java.nio.file.Path workingDir) |
static java.nio.file.Path |
getLogPathForTask(java.nio.file.Path workingDir,
int taskNumber) |
static java.nio.file.Path |
getOutputPathForTask(java.nio.file.Path workingDir,
int taskIndex) |
static SecurityAnalysisResult |
readResults(java.nio.file.Path workingDir,
int subtaskCount) |
static SecurityAnalysisResultWithLog |
readResultsWithLogs(java.nio.file.Path workingDir,
int subtaskCount) |
static SecurityAnalysisResult |
readSingleResult(java.nio.file.Path workingDir) |
static SecurityAnalysisResultWithLog |
readSingleResultWithLogs(java.nio.file.Path workingDir) |
public static ExecutionHandler<SecurityAnalysisResult> forwarded(SecurityAnalysisExecutionInput input)
ExecutionHandler
which forwards the security analysis execution through a call
to itools security-analysis.public static ExecutionHandler<SecurityAnalysisResult> forwarded(SecurityAnalysisExecutionInput input, java.lang.Integer forwardedTaskCount)
ExecutionHandler
which forwards the security analysis execution through a call
to itools security-analysis, with the option --task-count.public static ExecutionHandler<SecurityAnalysisResultWithLog> forwardedWithLogs(SecurityAnalysisExecutionInput input)
ExecutionHandler
which forwards the security analysis execution through a call
to itools security-analysis. It also retrieves execution logs.public static ExecutionHandler<SecurityAnalysisResultWithLog> forwardedWithLogs(SecurityAnalysisExecutionInput input, java.lang.Integer forwardedTaskCount)
ExecutionHandler
which forwards the security analysis execution through a call
to itools security-analysis, with the option --task-count. It also retrieves execution logs.public static ExecutionHandler<SecurityAnalysisResult> distributed(SecurityAnalysisExecutionInput input, int subtaskCount)
ExecutionHandler
which distributes the security analysis execution through multiple calls
to itools security-analysis, as specified in argument.public static ExecutionHandler<SecurityAnalysisResultWithLog> distributedWithLog(SecurityAnalysisExecutionInput input, int subtaskCount)
ExecutionHandler
which distributes the security analysis execution through multiple calls
to itools security-analysis, as specified in argument. It also retrieves execution logs.public static SecurityAnalysisResult readSingleResult(java.nio.file.Path workingDir)
public static SecurityAnalysisResultWithLog readSingleResultWithLogs(java.nio.file.Path workingDir)
public static void forwardedOptions(java.nio.file.Path workingDir, SecurityAnalysisCommandOptions options, java.lang.Integer taskCount)
public static void forwardedWithLogsOptions(java.nio.file.Path workingDir, SecurityAnalysisCommandOptions options, java.lang.Integer taskCount)
public static void distributedOptions(java.nio.file.Path workingDir, SecurityAnalysisCommandOptions options, int taskCount)
public static void distributedWithLogsOptions(java.nio.file.Path workingDir, SecurityAnalysisCommandOptions options, int taskCount)
public static java.nio.file.Path getOutputPathForTask(java.nio.file.Path workingDir, int taskIndex)
public static SecurityAnalysisResult readResults(java.nio.file.Path workingDir, int subtaskCount)
public static SecurityAnalysisResultWithLog readResultsWithLogs(java.nio.file.Path workingDir, int subtaskCount)
public static java.nio.file.Path getLogPathForTask(java.nio.file.Path workingDir, int taskNumber)
public static java.nio.file.Path getLogPath(java.nio.file.Path workingDir)