SubprocessReportingHelper

public class SubprocessReportingHelper
extends Object

java.lang.Object
   ↳ com.android.tradefed.cluster.SubprocessReportingHelper


A class to build a wrapper configuration file to use subprocess results reporter for a cluster command.

Summary

Public constructors

SubprocessReportingHelper(String commandLine, String classpath, File workDir, String port)

Public methods

File buildSubprocessReporterJar()

Dynamically generate extract .class file from tradefed.jar and generate new subprocess results reporter jar.

Public constructors

SubprocessReportingHelper

public SubprocessReportingHelper (String commandLine, 
                String classpath, 
                File workDir, 
                String port)

Parameters
commandLine String

classpath String

workDir File

port String

Public methods

buildSubprocessReporterJar

public File buildSubprocessReporterJar ()

Dynamically generate extract .class file from tradefed.jar and generate new subprocess results reporter jar.

Returns
File a subprocess result reporter jar to inject.

Throws
IOException