Class: Flydata::Source::Setup
- Defined in:
- lib/flydata/source/setup.rb
Direct Known Subclasses
Flydata::SourceFile::Setup, Flydata::SourceMysql::Setup, Flydata::SourceOracle::Setup, Flydata::SourcePostgresql::Setup
Class Method Summary collapse
Instance Method Summary collapse
-
#initial_run_complete_message ⇒ Object
Public Interface: initial_run complete message.
-
#initial_run_need_restart? ⇒ Boolean
Public Interface: Tells if Agent process needs restart.
Methods inherited from Component
Constructor Details
This class inherits a constructor from Flydata::Source::Component
Class Method Details
Instance Method Details
#initial_run_complete_message ⇒ Object
Public Interface: initial_run complete message
Returns a string which is displayed as the completion message at the end of #initial_run, which gets called at the end of Agent install.
25 26 27 |
# File 'lib/flydata/source/setup.rb', line 25 def raise UnsupportedSourceError, "subclass must implement" end |
#initial_run_need_restart? ⇒ Boolean
Public Interface: Tells if Agent process needs restart.
Returns true if Agent process needs restart at the end of #initial_run. Returns false otherwise.
17 18 19 |
# File 'lib/flydata/source/setup.rb', line 17 def initial_run_need_restart? raise UnsupportedSourceError, "subclass must implement" end |