Module: MvPlugin
- Extended by:
- Plugin::Run
- Included in:
- AgendavMv, DavicalMv, DovecotMv, PostfixadminMv, RoundcubeMv
- Defined in:
- lib/mv/mv_plugin.rb
Overview
Plugins for moving (renaming) users. Moving domains is not supported.
Class Method Summary collapse
-
.dummy_runner ⇒ Class
The “dummy” runner class associated with move plugins.
-
.runner ⇒ Class
The runner class associated with move plugins.
Instance Method Summary collapse
-
#mv_user(src, dst) ⇒ Object
The interface for the “move a user” operation.
Methods included from Plugin::Run
dummy_runner, included, includers, run, runner
Class Method Details
.dummy_runner ⇒ Class
The “dummy” runner class associated with move plugins.
23 24 25 |
# File 'lib/mv/mv_plugin.rb', line 23 def self.dummy_runner() return MvDummyRunner end |
.runner ⇒ Class
The runner class associated with move plugins.
14 15 16 |
# File 'lib/mv/mv_plugin.rb', line 14 def self.runner() return MvRunner end |
Instance Method Details
#mv_user(src, dst) ⇒ Object
The interface for the “move a user” operation. Subclasses need to implement this method so that it moves (renames) the user src to the user dst.
36 37 38 |
# File 'lib/mv/mv_plugin.rb', line 36 def mv_user(src, dst) raise NotImplementedError end |