public abstract class AndroidMojoSupport
extends org.echocat.jomon.maven.plugins.ProjectEnabledMojoSupport
| Modifier and Type | Class and Description |
|---|---|
protected static class |
AndroidMojoSupport.AndroidLogHandler |
| Modifier and Type | Field and Description |
|---|---|
protected static AndroidMojoSupport.AndroidLogHandler |
ANDROID_LOG_HANDLER |
protected static com.google.common.base.Predicate<com.android.ddmlib.IDevice> |
DEVICE_ONLINE |
| Constructor and Description |
|---|
AndroidMojoSupport() |
| Modifier and Type | Method and Description |
|---|---|
protected Long |
findPidOf(String pidProperty) |
protected String |
getAdbExecutable() |
protected org.echocat.jomon.runtime.util.Duration |
getDuration(String plainDuration,
String propertyName) |
protected File |
getTargetAdbExecutable() |
protected org.echocat.jomon.process.local.daemon.LocalProcessDaemonRepository |
processDaemonRepository() |
protected org.echocat.jomon.process.local.execution.LocalProcessExecuter |
processExecuter() |
protected org.echocat.jomon.process.local.LocalProcessRepository |
processRepository() |
protected <P extends AutoCloseable & org.echocat.jomon.runtime.util.IdEnabled<?>> |
registerPid(P process,
String pidProperty) |
protected void |
unregisterPid(String pidProperty) |
protected <P extends AutoCloseable & org.echocat.jomon.runtime.util.IdEnabled<?>> |
validatePidPropertyForRegister(P process,
String pidProperty) |
findProjectProperty, findProjectProperty, getProject, getProjectProperties, getProjectProperty, removeProjectProperty, setProjectPropertycall, execute, get, get, setLog@Nonnull protected static final com.google.common.base.Predicate<com.android.ddmlib.IDevice> DEVICE_ONLINE
@Nonnull protected static final AndroidMojoSupport.AndroidLogHandler ANDROID_LOG_HANDLER
@Nullable protected String getAdbExecutable() throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionException@Nonnull protected File getTargetAdbExecutable() throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionException@Nonnull protected org.echocat.jomon.process.local.daemon.LocalProcessDaemonRepository processDaemonRepository()
@Nonnull protected org.echocat.jomon.process.local.LocalProcessRepository processRepository()
@Nonnull protected org.echocat.jomon.process.local.execution.LocalProcessExecuter processExecuter()
@Nullable protected Long findPidOf(@Nonnull String pidProperty) throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionExceptionprotected <P extends AutoCloseable & org.echocat.jomon.runtime.util.IdEnabled<?>> void registerPid(@Nonnull P process, @Nonnull String pidProperty) throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionExceptionprotected <P extends AutoCloseable & org.echocat.jomon.runtime.util.IdEnabled<?>> void validatePidPropertyForRegister(@Nonnull P process, @Nonnull String pidProperty) throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionExceptionprotected void unregisterPid(@Nonnull String pidProperty) throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionExceptionCopyright © 2016 echocat. All rights reserved.