Package com.day.cq.commons
Class ConsoleUtil
java.lang.Object
com.day.cq.commons.ConsoleUtil
- All Implemented Interfaces:
EventListener
Deprecated.
Small tool to gather all consoles once. If consoles list need to be refreshed you need to create new
instance of ConsoleUtil
-
Constructor Summary
ConstructorsConstructorDescriptionConsoleUtil
(QueryManager queryManager, ObservationManager observationManger, String[] searchPath) Deprecated.Construct a Tool with Query- and Observation-facility to gather list of cq:Console node types. -
Method Summary
Modifier and TypeMethodDescriptionvoid
dispose()
Deprecated.getPaths()
Deprecated.void
onEvent
(EventIterator eventIterator) Deprecated.Does nothing now.
-
Constructor Details
-
ConsoleUtil
public ConsoleUtil(QueryManager queryManager, ObservationManager observationManger, String[] searchPath) Deprecated.Construct a Tool with Query- and Observation-facility to gather list of cq:Console node types. If this object is not needed anymoredispose()
should be called.- Parameters:
queryManager
- to search for consolesobservationManger
- - this is not used anymoresearchPath
- resolvers search path to limit search
-
-
Method Details
-
dispose
Deprecated. -
getPaths
Deprecated.- Returns:
- access the list of paths known to the repository
-
onEvent
Deprecated.Does nothing now.- Specified by:
onEvent
in interfaceEventListener
- Parameters:
eventIterator
- The event set received.
-