TradefedDelegator
public class TradefedDelegator
extends Object
java.lang.객체 | |
↳ | com.android.tradefed.config.proxy.TradefedDelegator |
호출을 다른 Tradefed 바이너리로 위임하는 데 도움이 되는 개체입니다.
요약
필드 | |
---|---|
public static final String | DELEGATE_OBJECT 구성의 개체 참조입니다. |
공개 생성자 | |
---|---|
TradefedDelegator () |
공개 방법 | |
---|---|
static String[] | clearCommandline (String[] originalCommand) 기본 구성이 다시 위임하지 않도록 원래 명령줄에서 위임 옵션을 제거합니다. |
String | createClasspath () 디렉토리의 jar에서 클래스 경로를 생성합니다. |
String[] | getCommandLine () |
File | getTfRootDir () Tradefed 바이너리의 디렉터리를 반환합니다. |
boolean | isStaging () 스테이징 환경인지 여부를 반환합니다. |
void | setCommandLine (String[] command) |
boolean | shouldUseDelegation () 위임 논리를 트리거할지 여부입니다. |
필드
DELEGATE_OBJECT
public static final String DELEGATE_OBJECT
구성의 개체 참조입니다.
공개 생성자
TradefedDelegator
public TradefedDelegator ()
공개 방법
clearCommandline
public static String[] clearCommandline (String[] originalCommand)
기본 구성이 다시 위임하지 않도록 원래 명령줄에서 위임 옵션을 제거합니다.
매개변수 | |
---|---|
originalCommand | String |
보고 | |
---|---|
String[] |
던지기 | |
---|---|
ConfigurationException |
생성 클래스 경로
public String createClasspath ()
디렉토리의 jar에서 클래스 경로를 생성합니다.
보고 | |
---|---|
String |
getCommandLine
public String[] getCommandLine ()
보고 | |
---|---|
String[] |
getTfRootDir
public File getTfRootDir ()
Tradefed 바이너리의 디렉터리를 반환합니다.
보고 | |
---|---|
File |
isStaging
public boolean isStaging ()
스테이징 환경인지 여부를 반환합니다. "staging_delegated"가 설정된 경우에만 기본적으로 스테이징을 위임하고 싶지 않습니다.
보고 | |
---|---|
boolean |
setCommandLine
public void setCommandLine (String[] command)
매개변수 | |
---|---|
command | String |
shouldUseDelegation
public boolean shouldUseDelegation ()
위임 논리를 트리거할지 여부입니다.
보고 | |
---|---|
boolean |