2025년 3월 27일부터 AOSP를 빌드하고 기여하려면 aosp-main
대신 android-latest-release
를 사용하는 것이 좋습니다. 자세한 내용은 AOSP 변경사항을 참고하세요.
컬렉션을 사용해 정리하기
내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
SandboxConfigurationFactory
public
class
SandboxConfigurationFactory
extends ConfigurationFactory
샌드박스 목적으로 구성 생성을 처리하는 특수 구성 팩토리입니다.
TODO: 구성 덤프 부분을 다른 클래스로 분할
요약
필드
OPTION_IGNORED_ELEMENTS
public static final OPTION_IGNORED_ELEMENTS
공개 생성자
SandboxConfigurationFactory
public SandboxConfigurationFactory ()
공개 메서드
createConfigurationFromArgs
public IConfiguration createConfigurationFromArgs (String[] args,
IKeyStoreClient keyStoreClient,
ISandbox sandbox,
IRunUtil runUtil)
제공된 명령줄 및 샌드박스를 기반으로 IConfiguration
를 만듭니다.
매개변수 |
args |
String : 실행의 명령줄입니다. |
keyStoreClient |
IKeyStoreClient : 키를 로드할 IKeyStoreClient 입니다. |
sandbox |
ISandbox : 실행에 사용된 ISandbox 입니다. |
runUtil |
IRunUtil : 명령어를 실행할 IRunUtil 입니다. |
생성 값 |
ConfigurationException |
|
createConfigurationFromArgs
public IConfiguration createConfigurationFromArgs (String[] arrayArgs,
SandboxConfigDump.DumpCmd command)
명령어의 덤프를 실행할 때 특정 기대치를 가진 구성을 만듭니다.
매개변수 |
arrayArgs |
String : 실행의 명령줄입니다. |
command |
SandboxConfigDump.DumpCmd : 덤프 명령어 실행 중 |
생성 값 |
ConfigurationException |
|
createConfigurationFromArgs
public IConfiguration createConfigurationFromArgs (String[] args,
IKeyStoreClient keyStoreClient,
ISandbox sandbox,
IRunUtil runUtil,
File globalConfig)
제공된 명령줄 및 샌드박스를 기반으로 IConfiguration
를 만듭니다.
매개변수 |
args |
String : 실행의 명령줄입니다. |
keyStoreClient |
IKeyStoreClient : 키를 로드할 IKeyStoreClient 입니다. |
sandbox |
ISandbox : 실행에 사용된 ISandbox 입니다. |
runUtil |
IRunUtil : 명령어를 실행할 IRunUtil 입니다. |
globalConfig |
File |
생성 값 |
ConfigurationException |
|
보호된 메서드
getConfigurationDef
protected ConfigurationDef getConfigurationDef (String name,
boolean isGlobal,
templateMap)
지정된 이름의 ConfigurationDef
가져오기
매개변수 |
name |
String : 로드할 내장 구성의 이름 또는 로드할 구성 파일의 파일 경로입니다. |
isGlobal |
boolean |
templateMap |
|
생성 값 |
ConfigurationException |
|
이 페이지에 나와 있는 콘텐츠와 코드 샘플에는 콘텐츠 라이선스에서 설명하는 라이선스가 적용됩니다. 자바 및 OpenJDK는 Oracle 및 Oracle 계열사의 상표 또는 등록 상표입니다.
최종 업데이트: 2025-03-26(UTC)
[[["이해하기 쉬움","easyToUnderstand","thumb-up"],["문제가 해결됨","solvedMyProblem","thumb-up"],["기타","otherUp","thumb-up"]],[["필요한 정보가 없음","missingTheInformationINeed","thumb-down"],["너무 복잡함/단계 수가 너무 많음","tooComplicatedTooManySteps","thumb-down"],["오래됨","outOfDate","thumb-down"],["번역 문제","translationIssue","thumb-down"],["샘플/코드 문제","samplesCodeIssue","thumb-down"],["기타","otherDown","thumb-down"]],["최종 업데이트: 2025-03-26(UTC)"],[],[]]