UploadManifest.Builder

public static abstract class UploadManifest.Builder
extends Object

java.lang.object
com.android.tradefed.cache.UploadManifest.Builder


خلاصه

سازندگان عمومی

Builder ()

روش های عمومی

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

سازندگان عمومی

سازنده

public Builder ()

روش های عمومی

addBlob

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

پارامترها
digest Digest

blob ByteString

برمی گرداند
UploadManifest.Builder

addBlobs

public final UploadManifest.Builder addBlobs ( digestToBlob)

پارامترها
digestToBlob

برمی گرداند
UploadManifest.Builder

افزودن فایل

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

پارامترها
digest Digest

file File

برمی گرداند
UploadManifest.Builder

افزودن فایل ها

public final UploadManifest.Builder addFiles ( digestToFile)

پارامترها
digestToFile

برمی گرداند
UploadManifest.Builder

ساخت خودکار

public abstract UploadManifest autoBuild ()

برمی گرداند
UploadManifest

ساختن

public UploadManifest build ()

برمی گرداند
UploadManifest

setDigestToBlob

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

پارامترها
digestToBlob ImmutableMap

برمی گرداند
UploadManifest.Builder

setDigestToFile

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

پارامترها
digestToFile ImmutableMap

برمی گرداند
UploadManifest.Builder