Back to project page android-marvin.
The source code is released under:
Apache License
If you think the Android project android-marvin listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package de.akquinet.android.marvin.actions; /*w ww .j av a 2 s.c o m*/ import android.app.Activity; import android.app.Instrumentation; import de.akquinet.android.marvin.monitor.ExtendedActivityMonitor; public class ActionFactory { public static BaseAction createBaseAction( Instrumentation instrumentation, ExtendedActivityMonitor activityMonitor) { return new BaseActionImpl(instrumentation, activityMonitor); } public static AwaitAction createAwaitAction( Instrumentation instrumentation, ExtendedActivityMonitor activityMonitor) { return new AwaitActionImpl(instrumentation, activityMonitor); } public static PerformAction createPerformAction( Instrumentation instrumentation, ExtendedActivityMonitor activityMonitor) { return new PerformActionImpl(instrumentation, activityMonitor); } public static <T extends Activity> ActivityAction createActivityAction( Instrumentation instrumentation, ExtendedActivityMonitor activityMonitor, T activity) { return new ActivityActionImpl<T>(instrumentation, activityMonitor, activity); } public static <T extends Activity> FindViewAction createFindViewAction( Instrumentation instrumentation, ExtendedActivityMonitor activityMonitor, T activity) { return new FindViewActionImpl<T>(instrumentation, activityMonitor, activity); } }