Package com.day.cq.wcm.emulator
Interface EmulatorProvider
-
public interface EmulatorProviderTheEmulatorProviderinterface specifies emulator providers.- Since:
- CQ 5.4.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.List<EmulatorGroup>getEmulatorGroups(Resource resource)Returns a list of groups containing emulators.java.util.List<Emulator>getEmulators(Resource resource)Returns the emulators for the specified resource.booleanhandles(Resource resource)Indicates whether this provider handles the specified resource.
-
-
-
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:
trueif the provider handles the resource,falseotherwise
-
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
Listcontaining the emulator groups.
-
-