IShardHelper
  public
  
  
  
  interface
  IShardHelper
  
  
  
| com.android.tradefed.invoker.shard.IShardHelper | 
Interface of an object that describes the sharding strategy to adopt for a configuration.
Summary
| Public methods | |
|---|---|
| 
        abstract
        
        
        
        
        boolean | 
      shardConfig(IConfiguration config, TestInformation testInfo, IRescheduler rescheduler, ITestLogger logger)
      Shard and reschedule the shard if possible. | 
Public methods
shardConfig
public abstract boolean shardConfig (IConfiguration config, TestInformation testInfo, IRescheduler rescheduler, ITestLogger logger)
Shard and reschedule the shard if possible.
| Parameters | |
|---|---|
| config | IConfiguration: aIConfigurationto be run. | 
| testInfo | TestInformation: theTestInformationof the current invocation. | 
| rescheduler | IRescheduler: theIReschedulerwhere to reschedule the shards. | 
| logger | ITestLogger | 
| Returns | |
|---|---|
| boolean | True if the configuration was sharded. false otherwise. | 
