Package org.robolectric.shadows
Class RunningTaskInfoBuilder
- java.lang.Object
-
- org.robolectric.shadows.RunningTaskInfoBuilder
-
public class RunningTaskInfoBuilder extends Object
Builder forActivityManager.RunningTaskInfo
.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ActivityManager.RunningTaskInfo
build()
static RunningTaskInfoBuilder
newBuilder()
RunningTaskInfoBuilder
setBaseActivity(ComponentName baseActivity)
RunningTaskInfoBuilder
setIsVisible(boolean visible)
RunningTaskInfoBuilder
setTaskId(int taskId)
RunningTaskInfoBuilder
setTopActivity(ComponentName topActivity)
-
-
-
Method Detail
-
newBuilder
public static RunningTaskInfoBuilder newBuilder()
-
setTaskId
public RunningTaskInfoBuilder setTaskId(int taskId)
-
setIsVisible
public RunningTaskInfoBuilder setIsVisible(boolean visible)
-
setBaseActivity
public RunningTaskInfoBuilder setBaseActivity(ComponentName baseActivity)
-
setTopActivity
public RunningTaskInfoBuilder setTopActivity(ComponentName topActivity)
-
build
public ActivityManager.RunningTaskInfo build()
-
-