Google은 흑인 공동체를 위한 인종 간 평등을 진전시키기 위해 노력하고 있습니다. Google에서 어떤 노력을 하고 있는지 확인하세요.
이 페이지는 Cloud Translation API를 통해 번역되었습니다.
Switch to English

BaseTargetPreparer

public abstract class BaseTargetPreparer
extends Object implements ITargetPreparer

java.lang.Object
   ↳ com.android.tradefed.targetprep.BaseTargetPreparer


Base implementation class for ITargetPreparer that allows to control whether the object is disabled or not.

Summary

Public constructors

BaseTargetPreparer()

Public methods

final boolean isDisabled()

Returns True if entire object disabled (skip both setup and teardown).

final boolean isTearDownDisabled()

Returns True if just teardown should be skipped.

final void setDisable(boolean isDisabled)

Sets whether the object should be disabled.

final void setDisableTearDown(boolean isDisabled)

Sets whether the teardown step in the object should be skipped.

Public constructors

BaseTargetPreparer

public BaseTargetPreparer ()

Public methods

isDisabled

public final boolean isDisabled ()

Returns True if entire object disabled (skip both setup and teardown). False otherwise.

Returns
boolean

isTearDownDisabled

public final boolean isTearDownDisabled ()

Returns True if just teardown should be skipped. False otherwise.

Returns
boolean

setDisable

public final void setDisable (boolean isDisabled)

Sets whether the object should be disabled. Disabled means that both setup and teardown steps should be skipped. Can be use to make an object disabled by default in the default constructor.

Parameters
isDisabled boolean: the state the object should be put in.

setDisableTearDown

public final void setDisableTearDown (boolean isDisabled)

Sets whether the teardown step in the object should be skipped. Setup step is still done.

Parameters
isDisabled boolean: the state the object should be put in.