CtsLaunchControlProvider
public
class
CtsLaunchControlProvider
extends LaunchControlProvider
implements
IDiscoverDependencies
| java.lang.Object | ||
| ↳ | com.google.android.tradefed.build.LaunchControlProvider | |
| ↳ | com.google.android.tradefed.build.CtsLaunchControlProvider | |
CTS ビルドの LaunchControlProvider。
Android ビルドサーバーから CTS zip を取得して抽出します。抽出された CTS は IFolderBuildInfo として表されます。
概要
フィールド | |
|---|---|
public
static
final
Set<String> |
CONFIG_ONLY_REGEX
|
public
static
final
Set<String> |
JARS_AND_CONFIG_REGEX
|
パブリック コンストラクタ | |
|---|---|
CtsLaunchControlProvider()
|
|
パブリック メソッド | |
|---|---|
void
|
cleanExtra()
|
void
|
cleanUp(IBuildInfo info)
一時ビルドファイルをクリーンアップします。 |
boolean
|
getForceCas()
|
Set<String>
|
reportTestZipFileFilter()
|
void
|
setCtsExtra(List<String> ctsExtra)
|
void
|
setCtsExtraAltPath(File altPath)
|
void
|
setCtsForcePartialDownloadRegex(Set<String> ctsForcePartialDownloadRegex)
|
void
|
setCtsPackageName(String ctsZipName)
|
void
|
setCtsUsePartialDownload(boolean shouldUsePartialDownload)
|
void
|
setDefaultRollout(boolean defaultRollout)
|
void
|
setDelayDownloadinSharding(boolean delayDownload)
|
void
|
setForceDisablePartialDownloadExperiment(boolean forceDisablePartialDownloadExperiment)
|
void
|
setPartialDownloadDefaultRollout(Set<String> partialDownloadDefaultRollout)
|
void
|
setPartialDownloadDisallowList(Set<String> partialDownloadDisallowList)
|
void
|
setPartialDownloadRolloutArtifact(String partialDownloadRolloutArtifact)
|
void
|
setThrowIfExtraNotFound(boolean shouldThrow)
|
保護されたメソッド | |
|---|---|
IBuildInfo
|
downloadBuildFiles(RemoteBuildInfo remoteBuild, String testTargetName, String buildName, IFileDownloader downloader)
remoteBuild から --download-build-key で設定された必要なファイルキーをダウンロードし、 |
RemoteBuildInfo
|
queryForBuild()
起動制御クエリを実行し、エラーが発生した場合は複数回再試行します。 |
フィールド
CONFIG_ONLY_REGEX
public static final Set<String> CONFIG_ONLY_REGEX
JARS_AND_CONFIG_REGEX
public static final Set<String> JARS_AND_CONFIG_REGEX
パブリック コンストラクタ
CtsLaunchControlProvider
public CtsLaunchControlProvider ()
パブリック メソッド
cleanExtra
public void cleanExtra ()
getForceCas
public boolean getForceCas ()
| 戻り値 | |
|---|---|
boolean |
|
reportTestZipFileFilter
public Set<String> reportTestZipFileFilter ()
| 戻り値 | |
|---|---|
Set<String> |
|
setCtsExtra
public void setCtsExtra (List<String> ctsExtra)
| パラメータ | |
|---|---|
ctsExtra |
List |
setCtsExtraAltPath
public void setCtsExtraAltPath (File altPath)
| パラメータ | |
|---|---|
altPath |
File |
setCtsForcePartialDownloadRegex
public void setCtsForcePartialDownloadRegex (Set<String> ctsForcePartialDownloadRegex)
| パラメータ | |
|---|---|
ctsForcePartialDownloadRegex |
Set |
setCtsPackageName
public void setCtsPackageName (String ctsZipName)
| パラメータ | |
|---|---|
ctsZipName |
String |
setCtsUsePartialDownload
public void setCtsUsePartialDownload (boolean shouldUsePartialDownload)
| パラメータ | |
|---|---|
shouldUsePartialDownload |
boolean |
setDefaultRollout
public void setDefaultRollout (boolean defaultRollout)
| パラメータ | |
|---|---|
defaultRollout |
boolean |
setDelayDownloadinSharding
public void setDelayDownloadinSharding (boolean delayDownload)
| パラメータ | |
|---|---|
delayDownload |
boolean |
setForceDisablePartialDownloadExperiment
public void setForceDisablePartialDownloadExperiment (boolean forceDisablePartialDownloadExperiment)
| パラメータ | |
|---|---|
forceDisablePartialDownloadExperiment |
boolean |
setPartialDownloadDefaultRollout
public void setPartialDownloadDefaultRollout (Set<String> partialDownloadDefaultRollout)
| パラメータ | |
|---|---|
partialDownloadDefaultRollout |
Set |
setPartialDownloadDisallowList
public void setPartialDownloadDisallowList (Set<String> partialDownloadDisallowList)
| パラメータ | |
|---|---|
partialDownloadDisallowList |
Set |
setPartialDownloadRolloutArtifact
public void setPartialDownloadRolloutArtifact (String partialDownloadRolloutArtifact)
| パラメータ | |
|---|---|
partialDownloadRolloutArtifact |
String |
setThrowIfExtraNotFound
public void setThrowIfExtraNotFound (boolean shouldThrow)
| パラメータ | |
|---|---|
shouldThrow |
boolean |
保護されたメソッド
downloadBuildFiles
protected IBuildInfo downloadBuildFiles (RemoteBuildInfo remoteBuild, String testTargetName, String buildName, IFileDownloader downloader)
remoteBuild から --download-build-key で設定された必要なファイルキーをダウンロードし、IBuildInfo に保存します。
| パラメータ | |
|---|---|
remoteBuild |
RemoteBuildInfo: 起動制御サーバーのレスポンス |
testTargetName |
String: テスト ターゲット名 |
buildName |
String: リリース制御で定義されているビルドの名前 |
downloader |
IFileDownloader: ビルドファイルのダウンロードに使用する IFileDownloader |
| 戻り値 | |
|---|---|
IBuildInfo |
IBuildInfo にビルドファイルのローカル バージョンが入力されている |
| 例外 | |
|---|---|
BuildRetrievalError |
|
queryForBuild
protected RemoteBuildInfo queryForBuild ()
エラーが発生した場合は複数回再試行して、リリース制御クエリを実行します。
| 戻り値 | |
|---|---|
RemoteBuildInfo |
起動制御から取得された RemoteBuildInfo |
| 例外 | |
|---|---|
BuildRetrievalError |
|