ObjectUpdater.WorkUnitUpdate

public static interface ObjectUpdater.WorkUnitUpdate

com.google.android.tradefed.result.teststorage.ObjectUpdater.WorkUnitUpdate


Interface to encapsulte an update. The doUpdate method will be called with the latest version of the WorkUnit in the api. Will be automatically retried if there are any errors in the update or the version changes.

Must return a work unit that will be committed to the AnTS api.

Summary

Public methods

abstract WorkUnit doUpdate(WorkUnit current)

Public methods

doUpdate

public abstract WorkUnit doUpdate (WorkUnit current)

Parameters
current WorkUnit

Returns
WorkUnit