Node Director
Public Member Functions | Protected Attributes | List of all members
sfi.director.application.autodoc.CollectHandler Class Reference

Base class for all collection handlers. More...

Inheritance diagram for sfi.director.application.autodoc.CollectHandler:
sfi.director.application.autodoc.CollectConfigFiles sfi.director.application.autodoc.CollectLshw sfi.director.application.autodoc.CollectServices sfi.director.application.autodoc.CollectUnixPartitions sfi.director.application.autodoc.CollectWinProxy sfi.director.application.autodoc.CollectWinWMIApps sfi.director.application.autodoc.CollectWinWMIHW sfi.director.application.autodoc.CollectWinWMIPartitions

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.

Detailed Description

Base class for all collection handlers.

Collection handlers are responsible for collecting one kind of system information.

Constructor & Destructor Documentation

sfi.director.application.autodoc.CollectHandler.CollectHandler ( )

Member Function Documentation

void sfi.director.application.autodoc.CollectHandler.addObject ( DBObject  obj)
void sfi.director.application.autodoc.CollectHandler.collect ( ) throws DirectorException
InfoCollector sfi.director.application.autodoc.CollectHandler.collector ( )
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().

Member Data Documentation

InfoCollector sfi.director.application.autodoc.CollectHandler.collector = null
protected

The documentation for this class was generated from the following file: