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 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

      default List<? extends IAndroidComponent> getAllComponents()
      Gets all components inside this Android app
      Returns:
      All components inside this Android app
    • getEntryPointClasses

      default Set<String> getEntryPointClasses()
      Gets all classes the contain entry points in this applications
      Returns:
      All classes the contain entry points in this applications
    • checkAndAddComponent

      default void checkAndAddComponent(Set<String> entryPoints, IAndroidComponent component)