UploadManifest.Builder

public static abstract class UploadManifest.Builder
extends Object

java.lang.Object
   ↳ com.android.tradefed.cache.UploadManifest.Builder


Résumé

Constructeurs publics

Builder()

Méthodes publiques

final UploadManifest.Builder addBlob(Digest digest, ByteString blob)
final UploadManifest.Builder addBlobs( digestToBlob)
final UploadManifest.Builder addFile(Digest digest, File file)
final UploadManifest.Builder addFiles( digestToFile)
abstract UploadManifest autoBuild()
UploadManifest build()
abstract UploadManifest.Builder setDigestToBlob(ImmutableMap<Digest, ByteString> digestToBlob)
abstract UploadManifest.Builder setDigestToFile(ImmutableMap<Digest, File> digestToFile)

Constructeurs publics

Builder

public Builder ()

Méthodes publiques

Ajouter un objet Blob

public final UploadManifest.Builder addBlob (Digest digest, 
                ByteString blob)

Paramètres
digest Digest

blob ByteString

Renvoie
UploadManifest.Builder

addBlobs

public final UploadManifest.Builder addBlobs ( digestToBlob)

Paramètres
digestToBlob

Renvoie
UploadManifest.Builder

ajouter un fichier

public final UploadManifest.Builder addFile (Digest digest, 
                File file)

Paramètres
digest Digest

file File

Renvoie
UploadManifest.Builder

addFiles

public final UploadManifest.Builder addFiles ( digestToFile)

Paramètres
digestToFile

Renvoie
UploadManifest.Builder

autoBuild

public abstract UploadManifest autoBuild ()

Renvoie
UploadManifest

build

public UploadManifest build ()

Renvoie
UploadManifest

setDigestToBlob

public abstract UploadManifest.Builder setDigestToBlob (ImmutableMap<Digest, ByteString> digestToBlob)

Paramètres
digestToBlob ImmutableMap

Renvoie
UploadManifest.Builder

setDigestToFile

public abstract UploadManifest.Builder setDigestToFile (ImmutableMap<Digest, File> digestToFile)

Paramètres
digestToFile ImmutableMap

Renvoie
UploadManifest.Builder