CommandOptionsGetter
public class CommandOptionsGetter
extends Object
implements IRemoteFeature , IConfigurationReceiver
java.lang.Object | |
↳ | com.android.tradefed.config.filter.CommandOptionsGetter |
Triển khai dịch vụ trả về giá trị tùy chọn lệnh của một lệnh gọi nhất định. Điều này có thể được mở rộng trong tương lai để hỗ trợ nhiều tùy chọn hơn.
Tóm lược
Lĩnh vực | |
---|---|
public static final String | COMMAND_OPTIONS_GETTER |
public static final String | OPTION_NAME
|
Các nhà xây dựng công cộng | |
---|---|
CommandOptionsGetter () |
Phương pháp công khai | |
---|---|
FeatureResponse | execute (FeatureRequest request) Trả về một |
String | getName () Tên của đối tượng địa lý. |
void | setConfiguration ( IConfiguration configuration) Tiêm |
Lĩnh vực
COMMAND_OPTIONS_GETTER
public static final String COMMAND_OPTIONS_GETTER
OPTION_NAME
public static final String OPTION_NAME
Các nhà xây dựng công cộng
CommandOptionsGetter
public CommandOptionsGetter ()
Phương pháp công khai
hành hình
public FeatureResponse execute (FeatureRequest request)
Trả về một FeatureResponse
dựa trên yêu cầu.
Thông số | |
---|---|
request | FeatureRequest |
Lợi nhuận | |
---|---|
FeatureResponse |
getName
public String getName ()
Tên của đối tượng địa lý. Phải phù hợp với FeatureRequest#getName()
.
Lợi nhuận | |
---|---|
String |
setConfiguration
public void setConfiguration (IConfiguration configuration)
Tiêm IConfiguration
sử dụng.
Thông số | |
---|---|
configuration | IConfiguration |