Package org.robolectric.manifest
Class ActivityData
- java.lang.Object
-
- org.robolectric.manifest.ActivityData
-
public class ActivityData extends Object
-
-
Constructor Summary
Constructors Constructor Description ActivityData(String xmlns, Map<String,String> attrMap, List<IntentFilterData> intentFilters)
ActivityData(String xmlns, Map<String,String> attrMap, List<IntentFilterData> intentFilters, ActivityData targetActivity, MetaData metaData)
ActivityData(Map<String,String> attrMap, List<IntentFilterData> intentFilters)
-
Method Summary
-
-
-
Constructor Detail
-
ActivityData
public ActivityData(Map<String,String> attrMap, List<IntentFilterData> intentFilters)
-
ActivityData
public ActivityData(String xmlns, Map<String,String> attrMap, List<IntentFilterData> intentFilters)
-
ActivityData
public ActivityData(String xmlns, Map<String,String> attrMap, List<IntentFilterData> intentFilters, ActivityData targetActivity, MetaData metaData)
-
-
Method Detail
-
isAllowTaskReparenting
public boolean isAllowTaskReparenting()
-
isAlwaysRetainTaskState
public boolean isAlwaysRetainTaskState()
-
isClearTaskOnLaungh
public boolean isClearTaskOnLaungh()
-
getConfigChanges
public String getConfigChanges()
-
isEnabled
public boolean isEnabled()
-
isExcludedFromRecents
public boolean isExcludedFromRecents()
-
isExported
public boolean isExported()
-
isFinishOnTaskLaunch
public boolean isFinishOnTaskLaunch()
-
isHardwareAccelerated
public boolean isHardwareAccelerated()
-
getLabel
public String getLabel()
-
getLaunchMode
public String getLaunchMode()
-
isMultiprocess
public boolean isMultiprocess()
-
getName
public String getName()
-
isNoHistory
public boolean isNoHistory()
-
getParentActivityName
public String getParentActivityName()
-
getPermission
public String getPermission()
-
getProcess
public String getProcess()
-
getScreenOrientation
public String getScreenOrientation()
-
isStateNotNeeded
public boolean isStateNotNeeded()
-
getTargetActivityName
public String getTargetActivityName()
-
getTaskAffinity
public String getTaskAffinity()
-
getThemeRef
public String getThemeRef()
Convenience accessor for value of android:THEME attribute.- Returns:
- The theme attribute.
-
getUIOptions
public String getUIOptions()
-
getWindowSoftInputMode
public String getWindowSoftInputMode()
-
getAllAttributes
public Map<String,String> getAllAttributes()
Get the map for all attributes defined for the activity XML.- Returns:
- map of attributes names to values from the manifest. Not null.
-
getIntentFilters
public List<IntentFilterData> getIntentFilters()
Get the intent filters defined for activity.- Returns:
- A list of intent filters. Not null.
-
getMetaData
public MetaData getMetaData()
-
getTargetActivity
public ActivityData getTargetActivity()
-
-