Gcsरिमोटफ़ाइल रिज़ॉल्वर
public
class
GcsRemoteFileResolver
extends Object
implements
IRemoteFileResolver
java.lang.Object | |
↳ | com.android.tradefed.config.remote.GcsremoteFileCollectionr |
IRemoteFileResolver
को लागू करना जो GCS (जीसीएस) बकेट से डाउनलोड करने की अनुमति देता है.
खास जानकारी
फ़ील्ड्स की फ़िल्में | |
---|---|
public
static
final
String |
PROTOCOL
|
सार्वजनिक कंस्ट्रक्टर | |
---|---|
GcsRemoteFileResolver()
|
सार्वजनिक तरीके | |
---|---|
String
|
getSupportedProtocol()
डाउनलोड के लिए काम करने वाला, गड़बड़ी से जुड़ा प्रोटोकॉल दिखाता है. |
IRemoteFileResolver.ResolvedFile
|
resolveRemoteFile(IRemoteFileResolver.RemoteFileResolverArgs args)
रिमोट फ़ाइल को, आने वाले समय के लिए इस्तेमाल किए जाने वाले इंटरफ़ेस की मदद से हल करें |
सुरक्षित तरीके | |
---|---|
GCSDownloaderHelper
|
getDownloader()
|
फ़ील्ड्स की फ़िल्में
प्रोटोकॉल
public static final String PROTOCOL
सार्वजनिक कंस्ट्रक्टर
Gcsरिमोटफ़ाइल रिज़ॉल्वर
public GcsRemoteFileResolver ()
सार्वजनिक तरीके
'GetsupportedProtocol'
public String getSupportedProtocol ()
डाउनलोड के लिए काम करने वाला, गड़बड़ी से जुड़ा प्रोटोकॉल दिखाता है.
रिटर्न | |
---|---|
String |
रिज़ॉल्व-फ़ाइल को सुरक्षित करने के लिए फ़ाइल
public IRemoteFileResolver.ResolvedFile resolveRemoteFile (IRemoteFileResolver.RemoteFileResolverArgs args)
रिमोट फ़ाइल को, आने वाले समय के लिए इस्तेमाल किए जाने वाले इंटरफ़ेस की मदद से हल करें
पैरामीटर | |
---|---|
args |
IRemoteFileResolver.RemoteFileResolverArgs : RemoteFileResolverArgs , डाउनलोड करने के लिए रिमोट के बारे में बताता है. साथ ही, इसका तरीका भी बताता है. |
रिटर्न | |
---|---|
IRemoteFileResolver.ResolvedFile |
लोकल फ़ाइल प्रज़ेंटेशन का समाधान. |
थ्रो | |
---|---|
BuildRetrievalError |