ShardBuildCloner

public class ShardBuildCloner
extends Object

java.lang.Object
   ↳ com.android.tradefed.invoker.shard.ShardBuildCloner


Helper class that handles cloning a build info from the command line. Shard will get the build info directly by using ExistingBuildProvider instead of downloading anything.

Summary

Public constructors

ShardBuildCloner()

Public methods

static void cloneBuildInfos(IConfiguration fromConfig, IConfiguration toConfig, TestInformation testInfo)

Helper to set the Sharded configuration build provider to the ExistingBuildProvider.

Public constructors

ShardBuildCloner

public ShardBuildCloner ()

Public methods

cloneBuildInfos

public static void cloneBuildInfos (IConfiguration fromConfig, 
                IConfiguration toConfig, 
                TestInformation testInfo)

Helper to set the Sharded configuration build provider to the ExistingBuildProvider.

Parameters
fromConfig IConfiguration: Original configuration

toConfig IConfiguration: cloned configuration recreated from the command line.

testInfo TestInformation: The TestInformation of the parent shard