Interface IManifestHandler<A extends IActivity,S extends IService,C extends IContentProvider,B extends IBroadcastReceiver>
- All Superinterfaces:
AutoCloseable,Closeable
- All Known Implementing Classes:
BaseProcessManifest,ProcessManifest
public interface IManifestHandler<A extends IActivity,S extends IService,C extends IContentProvider,B extends IBroadcastReceiver>
extends Closeable
Common interface for all classes that can deal with Android manifests
- Author:
- Steven Arzt
-
Method Summary
Modifier and TypeMethodDescriptiondefault voidcheckAndAddComponent(Set<String> entryPoints, IAndroidComponent component) IComponentContainer<? extends A>Returns all activities in the Android appdefault List<? extends IAndroidComponent>Gets all components inside this Android appGets the Android application objectIComponentContainer<? extends B>Returns all broadcast receivers providers in the Android appIComponentContainer<? extends C>Returns all content providers in the Android appGets all classes the contain entry points in this applicationsGets the unique package name of this Android appIComponentContainer<? extends S>Returns all services providers in the Android app
-
Method Details
-
getPackageName
String getPackageName()Gets the unique package name of this Android app- Returns:
- The package name of this app
-
getActivities
IComponentContainer<? extends A> getActivities()Returns all activities in the Android app- Returns:
- list with all activities
-
getContentProviders
IComponentContainer<? extends C> getContentProviders()Returns all content providers in the Android app- Returns:
- list with all providers
-
getServices
IComponentContainer<? extends S> getServices()Returns all services providers in the Android app- Returns:
- list with all services
-
getBroadcastReceivers
IComponentContainer<? extends B> getBroadcastReceivers()Returns all broadcast receivers providers in the Android app- Returns:
- list with all receivers
-
getApplication
IAndroidApplication getApplication()Gets the Android application object- Returns:
- The Android application object
-
getAllComponents
Gets all components inside this Android app- Returns:
- All components inside this Android app
-
getEntryPointClasses
Gets all classes the contain entry points in this applications- Returns:
- All classes the contain entry points in this applications
-
checkAndAddComponent
-