Interface EmulatorProvider


  • public interface EmulatorProvider
    The EmulatorProvider interface specifies emulator providers.
    Since:
    CQ 5.4.0
    • Method Detail

      • getEmulators

        java.util.List<Emulator> getEmulators​(Resource resource)
        Returns the emulators for the specified resource.
        Parameters:
        resource - The resource
        Returns:
        The emulators, or an empty list.
      • handles

        boolean handles​(Resource resource)
        Indicates whether this provider handles the specified resource.
        Parameters:
        resource - The resource
        Returns:
        true if the provider handles the resource, false otherwise
      • getEmulatorGroups

        java.util.List<EmulatorGroup> getEmulatorGroups​(Resource resource)
        Returns a list of groups containing emulators.
        Parameters:
        resource - The resource from which to derive the emulator groups.
        Returns:
        A List containing the emulator groups.