ObjectUpdater.TestArtifactUpdate

public static abstract class ObjectUpdater.TestArtifactUpdate
extends Object

java.lang.Object
   ↳ com.google.android.tradefed.result.teststorage.ObjectUpdater.TestArtifactUpdate


Perform an update on the returned BuildArtifact. Works same as the other Update interfaces. Since update call is used to both create and update artifacts, a null argument means that there is no current artifact and a new artifact will be created.

Summary

Public constructors

TestArtifactUpdate()

Public methods

abstract BuildArtifactMetadata doUpdate(BuildArtifactMetadata current)
AbstractInputStreamContent getContent()

Return the content that will be uploaded.

Public constructors

TestArtifactUpdate

public TestArtifactUpdate ()

Public methods

doUpdate

public abstract BuildArtifactMetadata doUpdate (BuildArtifactMetadata current)

Parameters
current BuildArtifactMetadata

Returns
BuildArtifactMetadata

getContent

public AbstractInputStreamContent getContent ()

Return the content that will be uploaded.

Returns
AbstractInputStreamContent