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 |
|