Node Director
|
Base class for all collection handlers. More...
Public Member Functions | |
CollectHandler () | |
boolean | isWilling () |
check preconditions and return false if this handler is not willing to perform. | |
void | collect () throws DirectorException |
void | copyFile (File file) throws DirectorException |
String | getArgument (String arg) |
void | addObject (DBObject obj) |
InfoCollector | collector () |
Accessor for attribute collector. | |
InfoCollector | collector (InfoCollector collector) |
Mutator for attribute collector. |
Protected Attributes | |
InfoCollector | collector = null |
The current InfoCollector. |
Base class for all collection handlers.
Collection handlers are responsible for collecting one kind of system information.
sfi.director.application.autodoc.CollectHandler.CollectHandler | ( | ) |
void sfi.director.application.autodoc.CollectHandler.addObject | ( | DBObject | obj | ) |
References sfi.director.application.autodoc.InfoCollector.addObject(), and sfi.director.application.autodoc.CollectHandler.collector().
Referenced by sfi.director.application.autodoc.CollectUnixPartitions.collect(), sfi.director.application.autodoc.CollectWinWMIHW.collect(), sfi.director.application.autodoc.CollectWinWMIPartitions.collect(), sfi.director.application.autodoc.CollectWinWMIApps.collect(), sfi.director.application.autodoc.CollectLshw.collect(), and sfi.director.application.autodoc.CollectServices.collect().
void sfi.director.application.autodoc.CollectHandler.collect | ( | ) | throws DirectorException |
Reimplemented in sfi.director.application.autodoc.CollectServices, sfi.director.application.autodoc.CollectLshw, sfi.director.application.autodoc.CollectWinWMIApps, sfi.director.application.autodoc.CollectWinWMIHW, sfi.director.application.autodoc.CollectWinWMIPartitions, sfi.director.application.autodoc.CollectConfigFiles, and sfi.director.application.autodoc.CollectUnixPartitions.
Referenced by sfi.director.application.autodoc.InfoCollector.collectInto().
InfoCollector sfi.director.application.autodoc.CollectHandler.collector | ( | ) |
Accessor for attribute collector.
The current InfoCollector.
Referenced by sfi.director.application.autodoc.CollectHandler.addObject(), sfi.director.application.autodoc.CollectHandler.collector(), sfi.director.application.autodoc.CollectHandler.copyFile(), sfi.director.application.autodoc.CollectHandler.getArgument(), sfi.director.application.autodoc.CollectHandler.isWilling(), sfi.director.application.autodoc.CollectWinProxy.isWilling(), and sfi.director.application.autodoc.CollectWinProxy.wmiData().
InfoCollector sfi.director.application.autodoc.CollectHandler.collector | ( | InfoCollector | collector | ) |
Mutator for attribute collector.
The current InfoCollector.
References sfi.director.application.autodoc.CollectHandler.collector().
void sfi.director.application.autodoc.CollectHandler.copyFile | ( | File | file | ) | throws DirectorException |
String sfi.director.application.autodoc.CollectHandler.getArgument | ( | String | arg | ) |
boolean sfi.director.application.autodoc.CollectHandler.isWilling | ( | ) |
check preconditions and return false if this handler is not willing to perform.
This method was introduced in order to handle proxies.
Reimplemented in sfi.director.application.autodoc.CollectWinProxy.
References sfi.director.application.autodoc.CollectHandler.collector().
Referenced by sfi.director.application.autodoc.InfoCollector.collectInto().
|
protected |
The current InfoCollector.
Referenced by sfi.director.application.autodoc.InfoCollector.collectInto().