]>
gitweb.michael.orlitzky.com - mailshears.git/blob - lib/mv/mv_plugin.rb
1 require 'common/plugin.rb'
3 # Plugins for moving (renaming) users. Moving domains is not supported.
7 # Absorb the subclass run() magic from the Plugin::Run module.
10 # The runner class associated with move plugins.
12 # @return [Class] the {MvRunner} class.
19 # The "dummy" runner class associated with move plugins.
21 # @return [Class] the {MvDummyRunner} class.
23 def self.dummy_runner()
28 # The interface for the "move a user" operation. Subclasses need to
29 # implement this method so that it moves (renames) the user *src* to
32 # @param src [User] the source user to be moved.
34 # @param dst [User] the destination user to which we'll move *src*.
37 raise NotImplementedError