ITokenRequest

public interface ITokenRequest
implements IRemoteTest

com.android.tradefed.invoker.shard.token.ITokenRequest


IRemoteTest が実装して、特別なトークンを持つデバイスが必要であることを公開できるインターフェース。

概要

パブリック メソッド

default Set<TokenProperty> getRequiredTokens(TestInformation testInfo)

テストに必要なトークンのリストを返します。

default Set<TokenProperty> getRequiredTokens()

テストに必要なトークンのリストを返します。

パブリック メソッド

getRequiredTokens

public Set<TokenProperty> getRequiredTokens (TestInformation testInfo)

テストに必要なトークンのリストを返します。トークンがサポートされていない場合は null を返します。

パラメータ
testInfo TestInformation

戻り値
Set<TokenProperty>

getRequiredTokens

public Set<TokenProperty> getRequiredTokens ()

テストに必要なトークンのリストを返します。トークンがサポートされていない場合は null を返します。

戻り値
Set<TokenProperty>