public final class SecurityAnalysisExecutionHandlers extends 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(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(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,
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(Path workingDir,
SecurityAnalysisCommandOptions options,
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,
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(Path workingDir,
SecurityAnalysisCommandOptions options,
Integer taskCount) |
static Path |
getLogPath(Path workingDir) |
static Path |
getLogPathForTask(Path workingDir,
int taskNumber) |
static Path |
getOutputPathForTask(Path workingDir,
int taskIndex) |
static SecurityAnalysisResult |
readResults(Path workingDir,
int subtaskCount) |
static SecurityAnalysisResultWithLog |
readResultsWithLogs(Path workingDir,
int subtaskCount) |
static SecurityAnalysisResult |
readSingleResult(Path workingDir) |
static SecurityAnalysisResultWithLog |
readSingleResultWithLogs(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, 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, 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(Path workingDir)
public static SecurityAnalysisResultWithLog readSingleResultWithLogs(Path workingDir)
public static void forwardedOptions(Path workingDir, SecurityAnalysisCommandOptions options, Integer taskCount)
public static void forwardedWithLogsOptions(Path workingDir, SecurityAnalysisCommandOptions options, Integer taskCount)
public static void distributedOptions(Path workingDir, SecurityAnalysisCommandOptions options, int taskCount)
public static void distributedWithLogsOptions(Path workingDir, SecurityAnalysisCommandOptions options, int taskCount)
public static SecurityAnalysisResult readResults(Path workingDir, int subtaskCount)
public static SecurityAnalysisResultWithLog readResultsWithLogs(Path workingDir, int subtaskCount)
Copyright © 2020. All rights reserved.