public static class DeviceController.Environment extends Object
| Constructor and Description |
|---|
Environment(com.android.ddmlib.IDevice device) |
| Modifier and Type | Method and Description |
|---|---|
static DeviceController.Environment |
deviceEnvironment(com.android.ddmlib.IDevice device) |
org.echocat.jomon.runtime.util.Duration |
getCommandTimeout() |
com.android.ddmlib.IDevice |
getDevice() |
Writer |
getProgressConsumer() |
DeviceController.Environment |
withCommandTimeout(org.echocat.jomon.runtime.util.Duration timeout) |
DeviceController.Environment |
withCommandTimeout(String timeout) |
DeviceController.Environment |
withoutCommandTimeout() |
DeviceController.Environment |
withProgressConsumer(OutputStream os) |
DeviceController.Environment |
withProgressConsumer(Writer writer) |
public Environment(@Nonnull com.android.ddmlib.IDevice device)
@Nonnull public static DeviceController.Environment deviceEnvironment(@Nonnull com.android.ddmlib.IDevice device)
@Nonnull public DeviceController.Environment withCommandTimeout(@Nullable org.echocat.jomon.runtime.util.Duration timeout)
@Nonnull public DeviceController.Environment withCommandTimeout(@Nullable String timeout)
@Nonnull public DeviceController.Environment withoutCommandTimeout()
@Nonnull public DeviceController.Environment withProgressConsumer(@Nullable @WillNotClose OutputStream os)
@Nonnull public DeviceController.Environment withProgressConsumer(@Nullable @WillNotClose Writer writer)
@Nonnull public com.android.ddmlib.IDevice getDevice()
@Nullable public org.echocat.jomon.runtime.util.Duration getCommandTimeout()
@Nullable @WillNotClose public Writer getProgressConsumer()
Copyright © 2016 echocat. All rights reserved.