Class VariableMonitorTransfer


  • public class VariableMonitorTransfer
    extends AbstractOptionTransfer
    Transfers options between VariableMonitor objects.
    Version:
    $Revision$
    Author:
    FracPete (fracpete at waikato dot ac dot nz)
    • Constructor Detail

      • VariableMonitorTransfer

        public VariableMonitorTransfer()
    • Method Detail

      • handles

        public boolean handles​(Object source,
                               Object target)
        Returns whether it can handle the transfer.
        Specified by:
        handles in class AbstractOptionTransfer
        Parameters:
        source - the source object
        target - the target object
        Returns:
        true if options can be transferred by this class
      • doTransfer

        protected String doTransfer​(Object source,
                                    Object target)
        Does the actual transfer of options.
        Specified by:
        doTransfer in class AbstractOptionTransfer
        Parameters:
        source - the source object
        target - the target object
        Returns:
        null if successful, otherwise error message