Package com.day.cq.wcm.emulator
Interface EmulatorProvider
-
public interface EmulatorProvider
TheEmulatorProvider
interface 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.boolean
handles(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:
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.
-
-