Package com.day.cq.wcm.emulator
Interface EmulatorProvider
public interface EmulatorProvider
The
EmulatorProvider interface specifies emulator providers.- Since:
- CQ 5.4.0
-
Method Summary
Modifier and TypeMethodDescriptiongetEmulatorGroups(Resource resource) Returns a list of groups containing emulators.getEmulators(Resource resource) Returns the emulators for the specified resource.booleanIndicates whether this provider handles the specified resource.
-
Method Details
-
getEmulators
Returns the emulators for the specified resource.- Parameters:
resource- The resource- Returns:
- The emulators, or an empty list.
-
handles
Indicates whether this provider handles the specified resource.- Parameters:
resource- The resource- Returns:
trueif the provider handles the resource,falseotherwise
-
getEmulatorGroups
Returns a list of groups containing emulators.- Parameters:
resource- The resource from which to derive the emulator groups.- Returns:
- A
Listcontaining the emulator groups.
-