public ArtifactCleanTask(ComponentRegistry componentRegistry, SimulatorProperties simulatorProperties) { this.componentRegistry = componentRegistry; this.simulatorProperties = simulatorProperties; this.bash = new Bash(simulatorProperties); }
private static Bash newBash(SimulatorProperties simulatorProperties) { return new Bash(simulatorProperties); }
public ArtifactDownloadTask(String sessionId, SimulatorProperties simulatorProperties, File outputDirectory, ComponentRegistry componentRegistry) { this.sessionId = sessionId; this.simulatorProperties = simulatorProperties; this.outputDirectory = outputDirectory; this.componentRegistry = componentRegistry; this.bash = new Bash(simulatorProperties); this.sshOptions = simulatorProperties.getSshOptions(); this.sshUser = simulatorProperties.getUser(); }
Coordinator(ComponentRegistry componentRegistry, CoordinatorParameters parameters) { this.componentRegistry = componentRegistry; this.parameters = parameters; this.outputDirectory = ensureNewDirectory(new File(getUserDir(), parameters.getSessionId())); this.failureCollector = new FailureCollector(outputDirectory, componentRegistry); this.simulatorProperties = parameters.getSimulatorProperties(); this.bash = new Bash(simulatorProperties); this.testCompletionTimeoutSeconds = simulatorProperties.getTestCompletionTimeoutSeconds(); }
ProvisionerCli(String[] args) { this.options = initOptionsWithHelp(parser, args); SimulatorProperties properties = loadSimulatorProperties(); ComputeService computeService = isCloudProvider(properties) ? new ComputeServiceBuilder(properties).build() : null; Bash bash = new Bash(properties); this.tags = loadTags(options, tagsSpec); this.provisioner = new Provisioner(properties, computeService, bash); }